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
gwr
6b27a0d34f
Make cpu_reboot un-blank the screen (cnpollc(1)).
...
Validate space in page zero for the kcore header.
1997-10-04 20:03:46 +00:00
gwr
0ec1cda62f
Move the call to cninit() up a level (easier to find).
1997-10-04 19:46:17 +00:00
gwr
3c0178f33d
Make msgbuf stay in page zero
1997-10-02 01:15:04 +00:00
leo
d4713d24c2
Implement the kernel part of pr-1891. This allows for a more flexible sized
...
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 13:52:37 +00:00
mycroft
a9155c5057
Set the status word as well, and remove a bogus comment.
1997-09-12 10:29:20 +00:00
mycroft
982f24e698
Always initialize all registers in setregs().
1997-09-12 07:00:30 +00:00
mycroft
16a8787248
Fix execve(2) and *setregs() interfaces so emulations can set registers in a
...
more correct way. (See tech-kern.)
1997-09-11 23:01:44 +00:00
jeremy
bbf76eb63e
Implement pmap and va caching within C table managers to help speed
...
up PV->(pmap,va) operations.
1997-07-02 03:23:57 +00:00