thorpej
8b220e1148
Define SYS_compat_13_sigreturn13.
1998-10-01 00:29:51 +00:00
thorpej
bcf14a99e2
Garbage collect trap #1 and trap #2 handlers; they're moved to
...
trap_subr.s
1998-09-30 23:47:33 +00:00
thorpej
a11e6632a8
Pull in opt_compat_netbsd.h
1998-09-30 23:01:28 +00:00
thorpej
35d282c8d5
Make sure SYS_exit and SYS___sigreturn14 are defined. Garbage collect
...
SYS_sigreturn.
1998-09-30 22:23:13 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
thorpej
d47ea67c1f
Define one page free list, and put all pages on it.
1998-07-08 04:43:18 +00:00
jonathan
0ed4d699d0
defopt DDB.
1998-07-04 23:12:39 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
gwr
0050a1b95b
Sync with the sun3 version.
1998-06-12 20:07:50 +00:00
gwr
1b01ec0993
First cut at UVM support. Compiles, but not tested yet.
1998-06-09 20:47:17 +00:00
gwr
c714d95b83
First cut at MACHINE_NEW_NONCONTIG - not enabled yet.
1998-06-09 20:31:28 +00:00
gwr
d74e1744f5
Fix a warning
1998-06-09 17:19:01 +00:00
gwr
d0a7f4f72b
Make this compile...
1998-06-09 17:10:11 +00:00
tv
00ede2160e
Change ddb_init() for a.out to provision for kernels which are not booted by
...
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.
1998-06-09 01:57:41 +00:00
is
7a0f63f982
Back out the defopt for M680?0. As pointed out to me, this breaks ports which
...
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.
1998-05-24 19:32:34 +00:00
is
6a6812fd92
Move M680[2346]0 to opt_m68kcpu.h.
...
XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.
1998-05-23 20:51:06 +00:00
thorpej
6626878e7b
It is no longer necessary for pmap_pinit() and pmap_release() to be
...
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
gwr
b043198b53
Sync with sun3/machdep.c (should factor out common stuff...)
...
> Do the "early breakpoint" (if booted with "-d") even if we
> have only the PROM to handle it, so one can patch things.
1998-03-08 19:12:53 +00:00
thorpej
772da350d4
Disable the message buffer during crash dumps by clearing msgbufenabled,
...
not msgbufmapped.
1998-02-19 04:18:30 +00:00
jeremy
a1efa84a4d
Modified the comments for the recentlty implemented pmap_map() function.
1998-02-09 19:56:37 +00:00
gwr
e3400ad779
Improve some diagnostics.
1998-02-08 05:07:06 +00:00
gwr
5b69e41858
Default the interrupt priority in match functions.
1998-02-08 05:05:54 +00:00
gwr
5193e1e30e
Factor *peek out of bus_subr.c and move it to autoconf.c
...
(to reduce duplication). Add bus_tmapin and bus_tmapout
for use in probe functions (gets a temporary mapping).
Add bus_mapout() to undo bus_mapin() if needed.
1998-02-08 05:02:50 +00:00
gwr
e387ffba22
Add pmap_map
1998-02-08 04:57:58 +00:00
gwr
eff2e270bd
Merge arch/sun3x into arch/sun3
1998-02-05 04:56:24 +00:00
mycroft
15ae963bea
When dumping, print out the device number as major,minor.
1998-01-24 16:46:23 +00:00
gwr
c292276dcf
Change our DVMA map from the last 16MB to the last 1MB because that is
...
the only part that is visible to VME masters, and is adequate space.
This allows the "si" driver (on VME) to use DMA transfers.
1998-01-22 22:20:35 +00:00
gwr
56100bea19
When calling iommu_* functions, use IOMMU_VA_MASK.
1998-01-22 22:12:36 +00:00
gwr
0c50bf6487
No need to print the size (it's constant).
1998-01-22 22:09:11 +00:00
gwr
19e7bf4dcd
Add: IOMMU_VA_MASK
1998-01-22 22:07:45 +00:00
gwr
cc1b4e4724
In pmap_bootstrap_copyprom, copy only the last PTE from the PROM's
...
DVMA segment (for the page reserved by the PROM). If we copy all
the mappings, pmap_enter_kernel may complain about finding valid
PTEs that are not recorded in our PV lists. Make pmap_remove_pte
do something reasonable if it finds a PTE for a managed page that
has not been recorded in the PV lists. (Plus other minor stuff).
1998-01-22 22:00:25 +00:00
gwr
58126a3b29
Separate pmap_activate() from _pmap_switch(), so the latter can remain
...
equivalent to what locore.s:cpu_switch does with in-line assembly when
PMAP_DEBUG is not defined. Also do splimp/splx in pmap_activate.
1998-01-22 21:48:42 +00:00
gwr
43013bccbb
Use MONEND instead of DVMA_SPACE_START in the "DDB convenience" symbols.
1998-01-22 21:35:27 +00:00
thorpej
2565ff444a
Update for config changes.
1998-01-12 20:35:04 +00:00
thorpej
d14e18faa9
Make pmap_activate() take a proc *.
1998-01-02 20:10:26 +00:00
jeremy
070bd37c1b
Pad out table manager structures so that all the members in the contiguous
...
table manager array allocated in pmap_startup() are properly aligned for
faster bus access.
1997-12-17 16:20:33 +00:00
tv
0a558b3f1f
Standardize COMPAT_SUNOS -- remove all references to
...
sunos_exec_aout_makecmds() in machdep.c for various architectures and put
it in exec_conf.c like the other emulations; rename exec.h to
sunos_exec.h.
1997-12-04 15:33:17 +00:00
hannken
50be28153c
Change order of include files. See PR #4532 .
1997-11-18 12:40:31 +00:00
gwr
9420004b46
Remove the for-loop that wants to map multiple msgbuf pages.
...
Multiple msgbuf pages will not work without a redesign of
the kernel VM layout, so let's not pretend we can do it.
1997-10-23 02:24:41 +00:00
gwr
1060564fdc
Make this generate the same output as kern/genassym.awk
1997-10-23 02:06:28 +00:00
gwr
e9393ba0e4
MONSTART/monstart symbol
1997-10-16 16:14:44 +00:00
gwr
a5b839419b
Add VME support
1997-10-16 16:13:21 +00:00
gwr
5942f9b29a
Check bustype in dvma_kvtopa()
1997-10-16 16:11:17 +00:00
gwr
b4f7e0ec3d
Remove the autoconfig glue. This driver is mandatory,
...
and the match/attach functions did nothing anyway.
1997-10-16 15:56:02 +00:00
gwr
f78c7f1fd8
Add VME support
1997-10-16 15:50:05 +00:00
gwr
38af6e81df
VME support
1997-10-16 15:39:36 +00:00
jeremy
d2d5e50d91
Rewrote the comments about the operation of the I/O mapper to make them more
...
accurate and (hopefully) easier to understand.
1997-10-10 09:50:03 +00:00
jeremy
88a82f5e7a
Corrected typo in comments.
1997-10-10 01:36:32 +00:00
gwr
0d541b4c08
Add dvma_malloc() for the ie driver.
1997-10-07 16:51:47 +00:00
gwr
c669b1bdeb
Do the cpu_kcore_hdr initialization a little differently.
...
(also fix - was not setting pg_frame, pg_valid)
1997-10-05 20:43:27 +00:00