Commit Graph

11973 Commits

Author SHA1 Message Date
pk
ddfaeab080 Change pv_va' entry to a vm_offset_t' as suggested in PR#3703.
Also, re-arrange pmap_page_protect4_4c() like the 4m variant; add
a more detailed panic message.
1997-06-12 21:02:43 +00:00
pk
0bf9195444 Erase kernel PTEs in pmap_page_protect4m(). This bug would leave spurious
entries in the kernel address space, eventually leading to panics in
pv_unlink().   This takes care of PRs 3575 & 3703.
1997-06-12 19:14:28 +00:00
mrg
1258c8d25b remove now obsolete "swap on..." lines. 1997-06-12 18:41:58 +00:00
ragge
5cfff50811 cpu_switch() should be mi_switch(). Pointed out by Johnny Billquist.
(bqt@update.uu.se)
1997-06-12 16:23:22 +00:00
mrg
552af779d2 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:46:19 +00:00
mrg
dc6a98e92c bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:09:23 +00:00
veego
a8536aa57a Use <sys/param.h> and not <machine/param.h> 1997-06-12 09:57:04 +00:00
veego
dc2c2bf304 Use '#options<SPACE><TAB>' for EXT2FS_SYSTEM_FLAGS and add the empty line
before '#options GATEWAY'.
1997-06-12 07:05:49 +00:00
perry
08cd1e4c5d clean up the formatting of the ext2fs lines a bit. 1997-06-11 21:05:41 +00:00
is
650ce78c8c Make more clear what installbot can't do, and the user must do by hand from
AmigaOS, when installing bootblocks.
1997-06-11 16:01:59 +00:00
bouyer
f5aa30a996 Add file-system ext2fs and related options. 1997-06-11 10:54:53 +00:00
kleink
c41a940888 GC obsolete MDP_AST flag. 1997-06-11 08:58:09 +00:00
kleink
f29570aa3a Do not #include the removed <machine/mtpr.h> any more. These definitions are
already living in <machine/cpu.h>.
1997-06-11 08:46:55 +00:00
kleink
a10178c21e GC this file. It has been unused for quite a while. 1997-06-11 08:42:31 +00:00
pk
cbc17e9dd1 ie2,ie3 and ie4 are 32-bit. 1997-06-10 21:54:21 +00:00
pk
1ab49e584f Avoid "false positives" in match routines. 1997-06-10 20:59:10 +00:00
pk
2851bca951 vme_establishintr: remove SUN4 arch check; this now works on sun4m as well. 1997-06-10 20:57:48 +00:00
veego
61e0a78f37 s/mac68k_btop/m68k_btop/ 1997-06-10 20:29:10 +00:00
veego
af1627ce0b The 'Mach derived conversion macros' are now in <m68k/param.h> 1997-06-10 20:20:06 +00:00
veego
e32543e434 s/x68k_btop/m68k_btop/ 1997-06-10 20:19:35 +00:00
veego
7cb125a0b0 s/x68k_round_page/m68k_round_page/ s/x68k_trunc_page/m68k_trunc_page/
s/x68k_btop/m68k_btop/ s/x68k_ptob/m68k_ptob/
1997-06-10 20:18:35 +00:00
veego
c8863019ed s/x68k_trunc_page/m68k_trunc_page/ s/x68k_btop/m68k_btop/
s/x68k_ptob/m68k_ptob/
1997-06-10 19:51:47 +00:00
veego
ba2763943f s/x68k_btop/m68k_btop/ 1997-06-10 19:50:23 +00:00
veego
f66de196f8 s/x68k_trunc_page/m68k_trunc_page/ 1997-06-10 19:49:32 +00:00
veego
3aed12bd06 Delete _btos and _stob.
The remaining 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 19:48:33 +00:00
veego
8a19759073 s/_round_page/m68k_round_page/ 1997-06-10 19:47:34 +00:00
veego
6cf26b26ae s/_round_page/m68k_round_page/ s/_trunc_page/m68k_trunc_page/
s/_btop/m68k_btop/ s/_ptob/m68k_ptob/
1997-06-10 19:42:25 +00:00
veego
6dbfc7764b s/_round_page/m68k_round_page/ 1997-06-10 19:37:58 +00:00
veego
b1dc6a8603 s/_trunc_page/m68k_trunc_page/ 1997-06-10 19:36:53 +00:00
veego
489e0898d3 Delete _btos and _stob.
The remaining 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 19:35:56 +00:00
veego
05b8948c41 Define NBSG from (1 << SEGSHIFT) and move some variables before
<m68k/param.h>.
1997-06-10 19:32:15 +00:00
veego
6bdd438fca s/_round_page/m68k_round_page/ 1997-06-10 19:27:08 +00:00
veego
4ef51880a6 s/_round_seg/m68k_round_seg/ s/_trunc_seg/m68k_trunc_seg/
s/_round_page/m68k_round_page/ s/_trunc_page/m68k_trunc_page/
1997-06-10 19:25:28 +00:00
veego
faa86d39b1 s/_trunc_seg/m68k_trunc_seg/ s/_round_page/m68k_round_page/ 1997-06-10 19:19:01 +00:00
veego
04374fdfc2 s/_round_seg/m68k_round_seg/ s/_round_page/m68k_round_page/ 1997-06-10 19:17:15 +00:00
veego
217706ec40 s/_trunc_page/m68k_trunc_page/ 1997-06-10 19:16:13 +00:00
veego
d9f8fea042 The 'Mach derived conversion macros' are now in <m68k/param.h> 1997-06-10 19:15:03 +00:00
veego
6d72d4542c s/mac68k_btop/m68k_btop/ 1997-06-10 19:13:36 +00:00
veego
e4b7dd88ce s/mac68k_round_page/m68k_round_page/ s/mac68k_trunc_page/m68k_trunc_page/
s/mac68k_btop/m68k_btop/ s/mac68k_ptob/m68k_ptob/
1997-06-10 19:11:26 +00:00
veego
ef9394e96d s/mac68k_trunc_page/m68k_trunc_page/ s/mac68k_btop/m68k_btop/
s/mac68k_ptob/m68k_ptob/
1997-06-10 19:09:05 +00:00
veego
f4068b5345 s/mac68k_round_page/m68k_round_page/ s/mac68k_trunc_page/m68k_trunc_page/ 1997-06-10 19:03:38 +00:00
veego
0dc0a3ca5e s/mac68k_btop/m68k_btop/ 1997-06-10 19:02:33 +00:00
veego
dd62be796a s/mac68k_trunc_page/m68k_trunc_page/ 1997-06-10 19:01:35 +00:00
veego
0cd13fe0b5 s/mac68k_round_page/m68k_round_page/ s/mac68k_trunc_page/m68k_trunc_page/
s/mac68k_btop/m68k_btop/
1997-06-10 19:01:00 +00:00
veego
be611a44d5 The 'Mach derived conversion macros' are now in <m68k/param.h> 1997-06-10 18:59:12 +00:00
veego
323d575e58 s/hp300_btop/m68k_btop/ 1997-06-10 18:58:19 +00:00
veego
3360f97707 s/hp300_round_page/m68k_round_page/ s/hp300_trunc_page/m68k_trunc_page/
s/hp300_btop/m68k_btop/ s/hp300_ptob/m68k_ptob/
1997-06-10 18:56:50 +00:00
veego
a969a4b6f6 s/hp300_trunc_page/m68k_trunc_page/ s/hp300_ptob/m68k_ptob/ 1997-06-10 18:52:23 +00:00
veego
6a57e397b7 s/hp300_btop/m68k_btop/ 1997-06-10 18:51:31 +00:00
veego
fb53429628 s/hp300_round_page/m68k_round_page/ s/hp300_trunc_page/m68k_trunc_page/ 1997-06-10 18:49:35 +00:00
veego
f1d4880cb5 s/hp300_trunc_page/m68k_trunc_page/ 1997-06-10 18:48:47 +00:00
veego
6304388ee4 The 'Mach derived conversion macros' are now in <m68k/param.h> 1997-06-10 18:47:21 +00:00
veego
011ba826e7 s/atari_btop/m68k_btop/ 1997-06-10 18:46:30 +00:00
veego
b04f321b06 s/atari_round_page/m68k_round_page/ 1997-06-10 18:45:05 +00:00
veego
48ac6b6866 s/atari_round_page/m68k_round_page/ s/atari_trunc_page/m68k_trunc_page/ 1997-06-10 18:43:46 +00:00
veego
a4c1cd0649 s/atari_round_seg/m68k_round_seg/ s/atari_trunc_seg/m68k_trunc_seg/
s/atari_round_page/m68k_round_page/ s/atari_btop/m68k_btop/
s/atari_ptob/m68k_ptob/
1997-06-10 18:41:13 +00:00
veego
0fb1053663 s/atari_trunc_page/m68k_trunc_page/ 1997-06-10 18:39:11 +00:00
veego
337441ce5f s/atari_round_page/m68k_round_page/ 1997-06-10 18:37:50 +00:00
veego
42395ee36b The 'Mach derived conversion macros' are now in <m68k/param.h> 1997-06-10 18:36:32 +00:00
veego
d3c01fde2c s/amiga_btop/m68k_btop/ 1997-06-10 18:34:52 +00:00
veego
2e45a6e310 s/amiga_round_page/m68k_round_page/ 1997-06-10 18:30:28 +00:00
veego
7097d0f71e s/amiga_round_page/m68k_round_page/ s/amiga_btop/m68k_btop/
s/amiga_trunc_seg/m68k_trunc_seg/ s/amiga_round_seg/m68k_round_seg/
s/amiga_ptob/m68k_ptob/
1997-06-10 18:26:41 +00:00
veego
d35d17a7c0 s/amiga_trunc_page/m68k_trunc_seg/ 1997-06-10 18:24:34 +00:00
veego
b62ba16540 s/amiga_round_page/m68k_round_page/ 1997-06-10 18:22:24 +00:00
veego
f7d1a9f167 Add the 'Mach derived conversion macros' from <arch>/include/param.h. 1997-06-10 18:21:23 +00:00
veego
931d90fcee Use the MI <m68k/param.h> include. 1997-06-10 07:54:35 +00:00
veego
451bfcbc85 New MI include file. Based on the param.h from all m68k ports. 1997-06-10 07:51:43 +00:00
jonathan
f89e57aee7 Add sys_sysarch() calls for the standard mips userspace cache-control calls. 1997-06-09 11:46:16 +00:00
is
b3b47459fe Fix typo. 1997-06-09 10:37:11 +00:00
jonathan
19e4111ef7 Move the mips sys_machdep.c from pmax/pmax to mips/mips, to enforce a
common sysarch on all mips ports.
1997-06-09 02:14:56 +00:00
veego
68bc1316cc Initialize machine_arch from MACHINE_ARCH. 1997-06-09 00:04:03 +00:00
veego
6ab737a609 Initialize machine from MACHINE and machine_arch from MACHINE_ARCH. 1997-06-08 23:59:57 +00:00
veego
a204fb7981 Initialize machine from MACHINE. 1997-06-08 23:54:19 +00:00
ragge
4d45dc0466 Use correct console on KA65? machines. Bugfix when specifying adaptor
number. Show compile-time for boot. Prettier printout.
1997-06-08 17:49:15 +00:00
jonathan
d6a4dfdc41 Declarations for standard MIPS-ABI cacheflush() and cachectl() calls,
as used by g++ trampoline code.
1997-06-08 10:52:04 +00:00
jonathan
f15c808e44 Initialize machine_arch from MACHINE_ARCH. 1997-06-08 10:48:02 +00:00
jonathan
ccc08d5a61 Move MACHINE_ARCH and _MACHINE_ARCH from pmax/include/param.h to
mips/include/mips_param.h.  (They should be common to all mips ports.)
1997-06-08 10:46:01 +00:00
veego
3b868f100b Use 0x0001 for MDP_STACKADJ. Thanks Klaus. 1997-06-08 10:35:39 +00:00
thorpej
c8615e2f7c Add code to decode the PCIA_RESENT register. Display information on
the PCIA revision, and whether or not the STD I/O EISA bridge is
present.  Decode, but don't bother displaying, the power consumption
information for each PCI slot.
1997-06-08 07:59:20 +00:00
thorpej
183655c71b Add bit definitions for the PCIA_PRESENT register. 1997-06-08 07:57:40 +00:00
thorpej
8e2e0fdc91 Don't print the hose number here; that's done in kftprint(). 1997-06-08 07:03:18 +00:00
thorpej
42dde867d8 Print the hose number in kftprint(). 1997-06-08 07:02:45 +00:00
thorpej
38b9b3385b Update for changes in the core ISP driver. 1997-06-08 06:35:45 +00:00
jonathan
0a875d4298 A pre-busdma pmax <bus.h> skeleton. 1997-06-08 05:10:25 +00:00
pk
7de2a6f83d Use the `ranges' property to deal with VMEbus address spaces. 1997-06-07 19:16:23 +00:00
pk
af40331aec Add some VME address modifiers used by vmebus_translate(). 1997-06-07 19:10:57 +00:00
cgd
712748bc64 remove extraneous, and now incorrect, cpu_decl()s. 1997-06-07 19:08:01 +00:00
ragge
2492a42479 System statistics fixes. From Johnny Billquist (bqt@update.uu.se). 1997-06-07 12:15:27 +00:00
ragge
f47d895f8c Clean up disklabel checking. 1997-06-07 12:13:27 +00:00
ragge
2db3f948a0 Disk statistics fixes. From Johnny Billquist (bqt@update.uu.se). 1997-06-07 12:11:38 +00:00
ragge
0d970d6a78 Create a fake disklabel if there are no one on the disk. 1997-06-07 11:59:44 +00:00
veego
1d24d6350d GC unused MDP_AST, noticed by Klaus Klein. 1997-06-07 08:27:47 +00:00
thorpej
78cd3ba57f bus_dmamap_t's always have a pointer to an sgmap cookie. (oops, forgot
to commit this to the branch!)
1997-06-07 05:35:06 +00:00
thorpej
413f678ce0 Pull the thorpej-bus-dma branch into the mainline. 1997-06-07 05:29:33 +00:00
perry
a630650d7f Switch to building new boot blocks by default. 1997-06-07 00:35:42 +00:00
thorpej
46b89d7739 Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:54:24 +00:00
thorpej
11e78a6b0d Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:43:45 +00:00
veego
029d774d1a Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch. 1997-06-06 23:31:23 +00:00
veego
ef7d5776d0 Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch. 1997-06-06 23:29:25 +00:00
thorpej
63bad43fa4 Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:28:40 +00:00
veego
de7e49a954 Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch. 1997-06-06 23:26:01 +00:00
thorpej
7a15aef7ea Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:24:31 +00:00
veego
d04fe1f439 add src/sys/arch/m68k/m68k/m68k_machdep.c 1997-06-06 23:15:28 +00:00
thorpej
ea7351cb31 Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:14:22 +00:00
thorpej
433c3cae0f Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:10:23 +00:00
cgd
2a9a4b6fde fix slight bogons in splhigh() usage, that were introduced when the
behaviour of splhigh() was changed.  The new behaviour raised the level to
IPL_HIGH if it was lower, but left it alone if the same or higher.  Apparently
the firmware transfers to NetBSD with all interrupts blocked, or something
else blocks all interrupts (including machine checks) before the code
is really started.  This meant that machine checks were blocked during
device probes, leading to false device probes _and_ an unexpected (and
therefore fatal) machine check at the spl0() after autoconfiguration.
1997-06-06 19:52:42 +00:00
leo
3b2576ad3c Guard agains multiple inclusion and pull in cpu.h to define clockframe. 1997-06-06 13:15:57 +00:00
mikel
d687e871c9 nuke bad MLINKS line; fixes PR port-atari/3605. 1997-06-06 05:26:38 +00:00
thorpej
63ac628f77 Oops, last commit was meant for the thorpej-bus-dma branch, not the
trunk.
1997-06-06 02:42:38 +00:00
thorpej
4f5d0d3849 Split DEC 3000/300 and 3000/500 DMA functions into separate files,
suggested by Chris Demetriou <cgd@netbsd.org>.
1997-06-06 02:41:09 +00:00
is
7b1633fee3 Make fpfault() faster if 68020/30 only, and the code smaller if 68040/60-only. 1997-06-05 20:57:13 +00:00
is
7ff8fa13b1 Microoptimization in addrerr4060. Reduces code size. 1997-06-05 20:13:37 +00:00
leo
f796b57669 * finalize 060 stuff.
For locore.s also nuke cacheop-functions now provided in m68k.
1997-06-05 19:45:29 +00:00
leo
327cf04b4b Implement and use splraise(). 1997-06-05 19:38:16 +00:00
cgd
891e8db771 two more slight bogons 1997-06-05 17:36:26 +00:00
cgd
1c33c6bff8 actually, declare _splraise() as an inline function, because:
(1) it was using 'max', and some functions use a variable
	    of that name (*sigh*), and
	(2) that makes it easier to be a bit trickier, and only call
	    swpipl if changing the IPL.
1997-06-05 17:31:16 +00:00
cgd
100dbb8a3c parens around macro arg (this is an old one) 1997-06-05 17:20:17 +00:00
cgd
57c012e265 make sure that splnet(), splbio(), splimp(), spltty(), splclock(),
splstatclock(), and splhigh() all _raise_ the IPL.  (splhigh() is _not_
the highest possible IPL; mcheck is...)
1997-06-05 17:08:06 +00:00
thorpej
d19ef97a43 Add fxp* at pci? declarations, marked untested on the Alpha, but they
compile.
1997-06-05 02:29:56 +00:00
thorpej
ab8dcc3eda Add fxp* at pci? declarations. 1997-06-05 02:27:44 +00:00
is
6d6e724440 Reorganize buserr/addrerr stuff, to allow omitting unused code in single-cpu
kernels, at the same time getting rid of up to 3 conditional branches and a
bit over one cacheline fetch (for the 68060; the saving is a bit smaller for
040 and yet smaller for the 020/30).
While we're here, also get rid of an redundant lea (using SP-relative
addressing) and of two redundant pushes.
While we're here, also fix a panic which would tear us down on 68060 machines
if a branch prediction error ever occured.
1997-06-04 22:12:43 +00:00
leo
f42858310e Use m68k cacheops 1997-06-04 14:33:49 +00:00
leo
60d8682a5b Add the 68060 Software Support Package. 1997-06-04 13:51:48 +00:00
leo
75fe0ae7a5 Export vectab label (68060 changes). 1997-06-04 13:50:25 +00:00
jtk
d935ace5a0 1) When we cannot complete our attachment, don't just return 0 but also
disconnect from the BIOS

2) when text segment as claimed by BIOS is out of sensible range, punt
completely rather than trying to shrink it to fit the ISA hole.  Some
BIOSes would crash with the previous behavior.  Some won't have a
working APM with the new behavior, but their BIOSes are broken.

Suggested by Chris Demetriou, with very minor tweaks by me.
1997-06-04 03:34:43 +00:00
cgd
86b5c1e498 make REGVAL macros use volatile pointers 1997-06-04 01:47:15 +00:00
mark
323b20590a Remove some nasty casts in macros. This fixes problems accessing raw
partitions > 4GB in size.
1997-06-03 23:48:36 +00:00
cgd
079e0c6bff make REGVAL macros use volatile pointers 1997-06-03 21:54:02 +00:00
cgd
ba43d7fec5 do not spew about processes which have had fatal traps, unless DEBUG
is defined.  Actually, it never should do it, but DEBUG should be 'never'
for most users.
1997-06-03 17:38:50 +00:00
cgd
e2bc183e52 remove DEBUG from GENERIC kernel 1997-06-03 17:37:58 +00:00
thorpej
4ae176cb0a Ooops! Not meant for the trunk; these need to be added to the branch! 1997-06-03 07:01:58 +00:00
thorpej
36e7d039c0 Add "typedep" code to deal with both the 32-bit and 64-bit PTE formats
found on Alpha workstation and server PCI bridge chipsets.
1997-06-03 07:00:20 +00:00
phil
71fb702409 Update Sys V shared memory options. Still commeted out, but now correct. 1997-06-03 01:38:00 +00:00
leo
154afe5d70 Add ipfilter stuff. 1997-06-02 20:40:40 +00:00
leo
6793c446f0 An attempt to make a generic m68k implementation for cache control operations.
Not yet completely finished.
1997-06-02 20:26:37 +00:00
leo
37325cfb41 More stuff for handling an 68060. 1997-06-02 12:03:40 +00:00
leo
45ae0c3916 Be a bit more robust when dealing with genassym failures (From mycroft). 1997-06-02 11:49:02 +00:00
jonathan
6aa07ba92c Add #ifdef _KERNEL/#endif around prototype of mips single-step emulator.
Add "struct proc;" inside the ifdef: <sys/proc.h> includes <machine/proc.h>
before declaring struct proc.
1997-06-02 01:58:38 +00:00
perry
d27bc903b5 trivial reformat -- one space to a tab 1997-06-02 00:26:49 +00:00
pk
d7b698b984 Set `rr_iospace' to PMAP_OBIO when translating relative sbus addresses. 1997-06-01 22:10:39 +00:00
phil
079405ea2a Update SHMMAXPGS to a constant of 1024. 1997-06-01 19:23:08 +00:00
phil
2f418f67bd Update to what I'm using. 1997-06-01 18:15:12 +00:00
mrg
81f7adf672 need to bump this back to version 1.7 (last one). 1997-06-01 14:08:58 +00:00
mrg
76b4fd4206 need to bump this back to version 1.7. 1997-06-01 14:08:15 +00:00
mrg
2a4bfcce7b need to bump this back to version 1.7. 1997-06-01 14:07:27 +00:00
mrg
640e369d6c need to bump this back to version 1.7. 1997-06-01 14:07:01 +00:00
mrg
887cadb09b need to bump this back to version 1.7. 1997-06-01 14:06:23 +00:00
mrg
e3ee873c1f need to bump this back to version 1.7. 1997-06-01 14:05:49 +00:00
thorpej
6dd15693d9 Add the ipfilter device at cdev major 7. 1997-06-01 09:18:45 +00:00
jonathan
3844d313b1 Add CD9660 and PROCFS filesystems. Sort filesystem options.
Add tun, and reorder pseudo-devices to match other systems' GENERIC config.
1997-06-01 08:44:57 +00:00
mrg
7cedf69cbd Completely rearrange SPARC boot code, modeling it after alpha and hp300
ports' boot programs.  Also added support for loading gzip'd kernels,
useful for booting from floppy.  From Jason R. Thorpe <thorpej@nas.nasa.gov>,
tested by Matthew Green <mrg@eterna.com.au> and Erik Fair <fair@clock.org>.
1997-06-01 03:39:03 +00:00
oki
ca83937d49 Use cdev_ipf_unit() instead of cdev_ch_unit() 1997-06-01 01:27:51 +00:00
cjs
7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
mhitch
ad9b4015c2 Comment out the dc0 at mainbus0: that attempts to include the DS3100 dc
device attachment.  The 3max dc0 device attaches to the pretended IOASIC.
1997-05-31 20:45:07 +00:00
mhitch
122ef4a659 -Wall cleanup when compiling without all DECstation models defined. 1997-05-31 20:33:30 +00:00
cgd
e4f0b64254 Adjust gcc -Wuninitialized warning initializers (or add them) so that
compliation without DEBUG and/or DIAGNOSTIC happens without errors.
Note that all such initializations in the Alpha port are marked with "XXX
gcc -Wuninitialized".  As far as I'm concerned, the one or two times
-Wuninitialized has saved me from problems are worth the (very minor) cost
involved with the initializations, esp. if it's noted why the
initializations are done.  This was prompted by PR#3690, from Ted Lemon.
1997-05-31 05:46:03 +00:00
cjs
83498d7e88 Remove empty libinstall target and add NOINSTALL=1. 1997-05-30 13:43:06 +00:00
jeremy
3f6f86d875 Undo changes which make pmap_xxxx_page() functions re-entrant; just block
all interrupts which might cause re-entrancy.

Allow virtual addresses which are not managed by the MI VM system to
participate in the PV system.

Remove a few frivoulous TLB cache flushes.
1997-05-30 07:02:14 +00:00
jeremy
4502541573 When turning off the drive motor, de-select the drive so the busy light
extinguishes.
1997-05-30 03:23:11 +00:00
jtc
8ab87a1df9 fix tipo 1997-05-30 01:34:49 +00:00
jtc
9d04fc8ed1 New zeropage() implementation based on code contributed by Hiroshi Horitomo
<horimoto@cs-aoi.cs.sist.ac.jp> in PR #3641.   I changed the code slightly.
Instead of clearing 13 registers (d1-d7,a1-a6) and zeroing 512 bytes per
loop iteration, I clear 8 registers (d1-d7,a1) and zero 256 bytes.  This
reduces the size and complexity of the function.

On the '020, the simpler code is less than 1% slower.  Surprisingly, it
is ~3% faster on the '040.
1997-05-30 01:20:23 +00:00
gwr
e512003d6e Add non-inline version of _splraise. 1997-05-29 22:20:01 +00:00
gwr
2e7b1f13dd Define getsr() as _getsr() for backward compatibility. 1997-05-29 22:18:24 +00:00
gwr
56e5d1c7c5 Add inline definitions for _getsr() and _splraise(), and
define splimp() using splraise so early calls to the VM
code (and pmap) do not accidently enable interrupts.
1997-05-29 22:17:38 +00:00
gwr
bdb1fd223a typo 1997-05-29 21:26:20 +00:00
gwr
14cd11bef6 Add non-inline version of _splraise. 1997-05-29 21:22:47 +00:00
gwr
b2502668e5 Increase the default datasize limit to 16MB (enough to build libc). 1997-05-29 21:18:42 +00:00
gwr
175d58b59a Define getsr() as _getsr() for backward compatibility. 1997-05-29 21:17:38 +00:00
gwr
9ab3caec28 Add inline definitions for _getsr() and _splraise(), and
define splimp() using splraise so early calls to the VM
code (and pmap) do not accidently enable interrupts.
1997-05-29 21:16:59 +00:00
jonathan
3906c8cde5 Fix possible uninitialized variable bug which trips -Wall. When
recovering from a possible race condition in sii_intr, read the active
target from the destat register, and set the softc state pointer
`state' appropriately.  (This warning is in a block that prints a
warning message, and the warning message has _never_ been seen. The
bug is probably innocuous.)

Also addresses the `more thought needed' in the log message for rev. 1.12.
1997-05-29 19:26:06 +00:00
jtc
9442b0fcda Use movw when loading countdown registers. 1997-05-29 16:31:33 +00:00
mhitch
fe468f64bc Include pm_ds.c if pm_ds, not dc_ds - dc_ds gets set for the 5000/200 as
well as the 3100, but trying to include pm_ds.c for a 5000/200-only
configuration fails.
1997-05-29 03:08:40 +00:00
mhitch
660cdaec8a Use the generic root/swap in the model-specific configuration files. 1997-05-29 02:22:27 +00:00
jonathan
ceff1980b7 lint: Add prototypes for the redirection hoks used for rcons/4.3bsd
qvss-style in-kernel X inputevent processing.
This whole interface should be replaced with wscons.
1997-05-28 14:21:39 +00:00
jeremy
1b2aae80c2 Added new lock system for the two virtual pages used in temporary mappings.
Allows pmap_zero_page() and pmap_copy_page() to be re-entrant.
1997-05-28 04:28:52 +00:00
jeremy
b53e0d4fb7 Coded to work with new lock system for tmp_vpages. 1997-05-28 04:27:00 +00:00
leo
1c5b9b33c7 Make the bootloader 68060 aware. 1997-05-27 10:28:30 +00:00
jeremy
89aa743138 Config file for a RAMDISK kernel. 1997-05-27 01:06:33 +00:00
jonathan
ed8e9558ab Lint: printf formats inside #ifdef DEBUG (long vs int, %x vs pointer).
Add XXX to inconsistency: sometimes pmap.c calls blkclr(), sometimes it uses
an inline C loop tuned for 4-entry writebuffer.  Why?
1997-05-26 23:02:11 +00:00
jonathan
03bb8c9b9e lint: #ifdef DEBUG code: use %p for pointers, %ld for vm_offset_t's. 1997-05-26 06:21:20 +00:00
jeremy
42012469ef Document that tapeboot has been tested and works. 1997-05-26 03:44:42 +00:00
jonathan
0978222b09 lint:#ifdef DEBUG code. Add parens where requested, Prototype stacktrace(). 1997-05-26 02:25:58 +00:00
thorpej
cad3c2f3f0 Garbage-collected long-unused setredzone(). 1997-05-26 00:27:43 +00:00
jonathan
333ebdebd6 lint: prototype blkclr __P((caddr_t val, int size)). Used in pmap code. 1997-05-25 23:00:40 +00:00
veego
6647500cd2 New Hardware Cursor support from Michael Teske. 1997-05-25 22:46:21 +00:00
veego
9aca91d78c Converted for the use of sys/dev/clock_subr.[ch].
Add some comments about the a2000 oki clock chip and stop the clock while
writing.
1997-05-25 22:11:48 +00:00
veego
b2361aa1f6 Remove some defines which are no longer needed.
clock.c uses now sys/dev/clock_subr.[ch].
1997-05-25 22:08:24 +00:00
jonathan
d21acac556 Create standard Makefile for arch/pmax/stand.
Copy old Makefile with bootblock rules to Makefile.booters.
1997-05-25 22:03:23 +00:00
veego
0e41c5cc23 Add dev/clock_subr.c and the major line for vnd, so you now use swaping
to a file.
Add comments and resort some entries.
1997-05-25 22:03:08 +00:00
veego
0275835c28 - Add and change some comments and options.
- Use 'options<SPACE><TAB>...'
1997-05-25 22:00:04 +00:00
jonathan
40b20f7799 Move dec_label into a subdir. 1997-05-25 21:39:08 +00:00
jonathan
dbdac42c7e Add ecoff symbol header definitions for mips1. 1997-05-25 21:22:19 +00:00
leo
c803f7baa9 Add serial driver for 68901 UART (modem1 port). 1997-05-25 12:41:27 +00:00
jonathan
e319f99e4b lint: include header files with declarations of input-redirect hooks.
Add prototypes and explicit casts where the hooks are polymorphic.
This whole interface should be replaced with wscons.
1997-05-25 10:53:33 +00:00
jonathan
4cf3fe8b78 lint: add prototype for pmax serial-console inithook. 1997-05-25 10:28:22 +00:00
jonathan
2548f9ceee lint: add prototype for kvtophys(). 1997-05-25 10:16:17 +00:00
jonathan
59c42b27b1 Lint: use new headers with prototypes. Add local prototypes for
locore spl functions; they should only be lint used directly here.
Delete  unused variables, etc.
1997-05-25 10:07:38 +00:00
jonathan
e991c94232 Add parens where requested by gcc -Wall. 1997-05-25 10:01:38 +00:00
jonathan
94d7e627c1 Rename cpu_singlstep() to mips_singlestep() and add prototype.
(it's not part of the standard interface to MD code.)

XXX Consider moving into process_machdep.c when the mips3 changes are merged.
1997-05-25 09:56:45 +00:00
jonathan
5520aec6bb Oops, #include <machine/autoconf.h> after previous change. 1997-05-25 08:17:00 +00:00