Commit Graph

175 Commits

Author SHA1 Message Date
fredette
8efc1dcff9 Fixed has_context to return true on the kernel pmap,
which always has context zero.  This was causing panics
under DIAGNOSTIC.
2001-04-10 12:39:56 +00:00
fredette
857e8fbc6b The mainbus doesn't define a device name in the attach args
after attaching the special busses, so just match when it
isn't, instead of calling strcmp with it.
2001-04-10 12:37:49 +00:00
fredette
c6871b7720 Make softintr_handler return one, not zero, to properly
claim the interrupt.  Added special bus_space_probe
handling to sun2_bus_map.
2001-04-10 12:33:09 +00:00
fredette
af0a9202ce Under DIAGNOSTIC, disabled a test that was using an
instruction not available on the 68010.  Also removed
more old sun3 cache-related code.
2001-04-10 12:29:10 +00:00
fredette
c4973c2333 In fpu_probe, now be sure to return FPU_NONE. Returning
FPU_UNKNOWN was causing confusion in cpu_switch.
2001-04-10 12:27:40 +00:00
fredette
0cb40c9174 Define a very small UBC_NWINS to keep UBC from eating all kernel VM. 2001-04-10 12:24:05 +00:00
fredette
0050ddd2b2 Be paranoid, #undef PAGER_MAP_SIZE before defining it. 2001-04-10 12:23:14 +00:00
fredette
666b4cf417 A successful compile is near. 2001-04-06 17:17:58 +00:00
fredette
ec984a04ad Added. 2001-04-06 15:05:55 +00:00
fredette
3ff14b7ac5 vm/vm.h -> uvm/uvm_extern.h
Cleaned up definitions of cputype and mmutype.
mon.h -> promlib.h, and use all of the new prom_
functions instead of the old mon_ functions.
Removed all of the old mon_ capturing code to
promlib.c.
2001-04-06 14:59:09 +00:00
fredette
e3edb8d20c Gratuitous comment changes. 2001-04-06 14:52:56 +00:00
fredette
6529ec2635 Now include machine/promlib.h instead of machine/mon.h, and
use the new prom_ functions instead of the old mon_ functions.
Added the internal _pmap_extract_pmeg function, and removed
some old Sun3 cache-related code.
2001-04-06 14:52:19 +00:00
fredette
353ad332f0 Added some support for the old-school 'g0' and 'g4' monitor
hooks, and removed some old Sun3 cache and interrupt-register
related code.
2001-04-06 14:36:08 +00:00
fredette
20293ce870 Added. 2001-04-06 13:13:01 +00:00
fredette
d8d78f2801 Added a prototype for the internal function _pmap_extract_pmeg,
used by the bus_dma implementation when double-mapping pages
by hand.
Now define PMAP_OBMEM for completeness.
2001-04-06 13:12:06 +00:00
fredette
874e89c74d Added an internal bus_space flag to find and use PROM mappings.
Added an internal bus_dma flag to mark when a map has been
loaded by double-mapping pages by hand, outside of the pmap.
Added more prototypes for our bus_dma implementation.
2001-04-06 13:09:10 +00:00
fredette
85c6ec3b50 Now use the proper DVMA map size depending on what
machine type we're on.
Removed all prototypes, since we're going bus_dma.
2001-04-06 13:03:14 +00:00
fredette
cce60f68dc Added. 2001-03-29 21:07:56 +00:00
fredette
fb96b4d88c Added. 2001-03-29 04:58:52 +00:00
fredette
22a64b5a3e Added. 2001-03-29 04:35:09 +00:00
fredette
fbd8636feb Added. 2001-03-29 04:16:21 +00:00
fredette
da500dc6be Removed some sun3 references. 2001-03-29 04:07:54 +00:00
fredette
6095b6e2ff Added. 2001-03-29 03:24:19 +00:00
fredette
2deceb396c Brought up-to-date with revision 1.124 of the Sun3 pmap. 2001-03-28 14:15:11 +00:00
fredette
a8cd6c5401 Added. 2001-03-28 13:47:58 +00:00