Commit Graph

1092 Commits

Author SHA1 Message Date
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
jeremy
89aa743138 Config file for a RAMDISK kernel. 1997-05-27 01:06:33 +00:00
jeremy
fc60f1979e Prevent RAM disk hooks from compiling until sun3 md_root.c can support
ram disk images that are read in from the outside.
Sync with some old local changes.
1997-05-24 00:09:49 +00:00
jeremy
0304ff6aed Implement code to dynamically size the number of page tables based on available
RAM at boot.

Also did some cleanup of unused functions, updated several comments, and
removed unecessary 'XXX's.
1997-05-20 06:01:19 +00:00
jeremy
70d1c8b8c8 Return EIO instead of EFAULT when read/write is too big or small. 1997-05-16 05:33:48 +00:00
jeremy
608a6800e6 Things are stable enough that DDB, PMAP_DEBUG and DIAGNOSTIC aren't needed
anymore.
1997-05-15 01:49:27 +00:00
gwr
a83cf310c1 The Hydra is 20 MHz and the Pegasus is 33 MHz. 1997-05-14 16:45:22 +00:00
gwr
5079510304 Make the "hydra" call leds_hydra() from clock_attach(). 1997-05-14 16:42:45 +00:00
gwr
b209530013 Remove call to leds_init (it is already in obio_init). 1997-05-14 16:13:31 +00:00
jeremy
ebb856e274 Long awaited MI/MD separation completed. 1997-05-14 01:37:23 +00:00
gwr
1aa91b893d Eliminate references to vmspace.vm_pmap
(also fix some comments).
1997-05-13 17:17:12 +00:00
gwr
d69bf3ded2 Eliminate references to vmspace.vm_pmap
(also fix some typos in comments).
1997-05-13 17:16:28 +00:00
gwr
1d8ffff9d9 Use GLOBAL(), _C_LABEL(), etc. 1997-05-13 16:31:26 +00:00
jeremy
3d8d0c485c Add call to leds_init() after everything has started up ok. 1997-05-11 06:15:09 +00:00
mycroft
185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
lukem
6fe4889b92 cleanup use of whitespace 1997-05-07 02:20:26 +00:00
lukem
a9016579ab clean up whitespace use 1997-05-07 02:14:59 +00:00
jeremy
3f7423a432 Wrap all label references with new macros in m68k/asm.h in preperation
for ELF switchover. (eventually)
1997-05-02 23:07:35 +00:00
jeremy
e5380025ac Now in dev/ic. 1997-05-02 06:31:16 +00:00
gwr
24af362f60 Implement pmap_pa_exists() so that /dev/mem works.
This was the reason ps (kvm_getargs) did not work.
1997-05-01 15:00:11 +00:00
gwr
b9a0ca59bb oops... 1997-05-01 14:58:20 +00:00
gwr
42f8cf900b Use unsigned when doing copy/xor check. 1997-04-28 23:43:56 +00:00
gwr
cb96a536e4 Add a comment about obio_mapin(). 1997-04-28 23:38:47 +00:00
gwr
1046c915b6 Drivers that use obio_mapin should enforce OBIO attachment
(just to be paranoid).
1997-04-28 23:30:19 +00:00
gwr
304d49b554 include <machine/leds.h> 1997-04-28 23:21:01 +00:00
gwr
712f2e8d93 Moved leds_* declarations into leds.h 1997-04-28 23:19:39 +00:00
gwr
589bdf49d5 si_intr: if our CSR indicates an interrupt, return 1. 1997-04-28 22:10:41 +00:00
gwr
445e244536 Do console initialization earlier (see obio_init).
Document initialization order dependencies.
1997-04-28 22:08:36 +00:00
gwr
2e1c5c36ad Be quiet in _save_symtab() unless there is a problem.
Improve some comments (and sync with sun3x code).
1997-04-28 22:06:20 +00:00
gwr
2223431f0a No longer needs an early init call (just normal autoconfig).
Only animate the LEDs when we were idle (like SunOS).
1997-04-28 22:04:29 +00:00
gwr
df35245ac0 Fix a bug where OBIO locators were not presented to the children.
Rename obio_alloc to obio_mapin; add comments, etc.  (like sun3x)
1997-04-28 22:02:43 +00:00
gwr
388bf0e0e0 Rename obio_alloc/obio_mapin and check for obio in match functions
for attachments that will use obio_mapin.
1997-04-28 21:59:19 +00:00
gwr
a5efc65699 Sync. up with the sun3x version. 1997-04-28 21:55:59 +00:00
gwr
479d3fa66d No longer needs an early init call (just normal autoconfig). 1997-04-28 21:51:49 +00:00
gwr
3c841dcb79 Export the symbol _Idle for clock.c (and fix some comments). 1997-04-28 21:49:38 +00:00
gwr
dcd4fae823 Use AUTOVEC_BASE instead of 0x18. 1997-04-28 21:48:25 +00:00
gwr
46cd1d0fec Add a kernel declarations section. 1997-04-28 21:47:10 +00:00
gwr
52e455e8ba Fix declaration of get_control_byte(). 1997-04-28 21:46:31 +00:00
gwr
236a126750 Declare peek_long(). 1997-04-28 21:45:47 +00:00
gwr
a0d8cf3b65 Kill an obsolete comment. 1997-04-28 21:44:53 +00:00
gwr
5d8f130bb6 Be quiet in sunmon_abort(). 1997-04-25 22:26:14 +00:00
gwr
678f326c7f Make idprom_init() figure out where the IDPROM resides.
Add autoconfig glue, which currently just shows the
address where the IDPROM was found.
1997-04-25 19:02:06 +00:00
gwr
e2ca51d2a1 Fixed OBIO locators bug, so this can do the normal thing now.
Also improved handling of spurious interrupts, and sync up with
the sparc version.
1997-04-25 18:55:05 +00:00
gwr
4c64781365 Moved the actual model identification work into identifycpu(),
which used to be in _startup.c:_verify_hardware().
Use sunmon_abort() in cpu_reboot() for now...
1997-04-25 18:52:11 +00:00
gwr
9ae1b69554 Rename "Idle" to "_Idle" so clock.c can reference it. 1997-04-25 18:48:39 +00:00
gwr
25d7b6b348 Provide a struct representing only the clock. 1997-04-25 18:47:41 +00:00
gwr
885a1fc439 Add /dev/leds support. 1997-04-25 18:46:10 +00:00
gwr
2dd63e3378 Use bus_mapin, and minor tweaks. 1997-04-25 18:45:39 +00:00
gwr
f7749f47fe Add "oclock" support for the Sun3/470. 1997-04-25 18:31:37 +00:00