fredette
db8595f14f
Much bus_dma work. When destroying a map, unload it if it's
...
loaded. Added more comments. Fixed the perspective of a 24-bit
device from the original sun4 code to match the sun2. For now,
we don't double-map pages into DVMA space by hand, we're back
to using pmap_enter. Be more paranoid about saving and
restoring the MMU user context.
2001-04-18 03:45:10 +00:00
fredette
026720119b
Added support for the Sun SC scsi controller.
2001-04-18 03:38:38 +00:00
fredette
451d8d47e1
Added support for creating a bus_dma tag for the mbmem bus.
2001-04-18 03:34:54 +00:00
fredette
5f19315baa
Now define IPL_BIO.
2001-04-18 03:30:14 +00:00
fredette
68230340aa
Fixed a bug in db_write_text where on exit we would bash
...
a PTE in whatever user context happened to be set on
entry.
2001-04-18 03:19:21 +00:00
kleink
f06533a1ee
Add definitions of C99 integer format conversion macros.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837
Add definitions of C99 specified-width integer type limits.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
a7c20e5788
Add definitions of C99 integer constant macros.
2001-04-14 22:38:33 +00:00
kleink
7affdab52e
Add definitions of C99 minimum-width and greatest-width integer types.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
thorpej
bf2dcec4f5
Remove the use of splimp() from the NetBSD kernel. splnet()
...
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
fredette
b27eda4ead
Added.
2001-04-10 12:46:26 +00:00
fredette
1dfde059ab
Use fb_setsize_eeprom to do some intialization of the
...
fb structure.
2001-04-10 12:44:12 +00:00
fredette
bb09d2bc78
Fixed a bug where we were trying to map the board RAM
...
using the physical address of the board registers.
2001-04-10 12:42:51 +00:00
fredette
ca414a50ad
In prom_init, when making our local copy of the bootparams,
...
be sure to calculate the shift in terms of chars, not struct
bootparams, and don't shift undefined arguments.
2001-04-10 12:40:53 +00:00
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