Commit Graph

233 Commits

Author SHA1 Message Date
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
f7e146ad7f Return EIO instead of EFAULT when read/write is too big or small. 1997-05-16 05:47:14 +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
e6fa5bc33d Add leds_hydra(). 1997-05-14 16:37:01 +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
jeremy
1c454cc472 Diagnostic LED on 3/80 appears to be active-high, not active-low as previously
thought.  It remains to be seen if this is true for the 3/470.
1997-05-11 06:16: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
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
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
887d5be03e Forgot to import this. (Thanks, der Mouse) 1997-05-01 14:57:17 +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
92efd222d0 Hack for now: if fpu is there, report it as an mc68882. 1997-04-25 19:16:10 +00:00
gwr
dfc2e0f30d Add devices: idprom, oclock. Add file leds.c. 1997-04-25 19:12:57 +00:00
gwr
1676e3a212 Add idprom, oclock, and rearrange somewhat. 1997-04-25 19:11:48 +00:00
gwr
cd6ee4737e Renamed obio_alloc/obio_mapin. 1997-04-25 19:02:46 +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
49f095a342 No longer need eeprom_init(). 1997-04-25 18:57:49 +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
gwr
8f9276c727 Move the _verify_hardware() work into machdep.c:identifycpu().
Call obio_init() after _vm_init() so we can use peek_byte() to
probe the idprom.  Be quiet in _save_symtab() when all is well.
1997-04-25 18:29:58 +00:00
gwr
477a320277 Moved bus_scan() and bus_print() here from autoconf.c
because they are now different in sun3 vs sun3x.
1997-04-25 18:02:47 +00:00
gwr
3619a4da3d Rename obio_alloc to obio_mapin, update *_init declarations.
Remove OBIO_P4_REG (not a fixed address, but per-device).
1997-04-25 18:00:49 +00:00
gwr
fd42058232 Add kernel function declarations. 1997-04-25 17:52:54 +00:00
gwr
23f821bcc5 Add idprom_init(). 1997-04-25 17:42:34 +00:00
gwr
963c410824 Change the OBIO address probe order a little, to allow determination of
which kind of idprom and clock we have (3/80 vs 3/470 differences).
Fix a bug where obio_submatch() failed to copy some locators.
Rename obio_alloc to obio_mapin.  Add lots of comments.
1997-04-25 15:35:27 +00:00
gwr
20ac88e4b1 Add /dev/leds support for the 3/470. 1997-04-25 15:15:45 +00:00
thorpej
48fa8154e7 Adjust for <m68k/m68k/trap_subr.s> 1997-04-25 01:49:05 +00:00
thorpej
f05b58b229 Use common m68k sigcode. 1997-04-13 02:37:15 +00:00
gwr
dcc94a5dd9 Document the flags accepted by the esp driver. 1997-04-12 19:48:00 +00:00
thorpej
a2be180b39 Adjust for new kcore.h 1997-04-09 21:00:35 +00:00
thorpej
00c04fe742 Use <m68k/m68k/proc_subr.s> 1997-04-09 20:58:33 +00:00
thorpej
a32e01eedb regdump() is prototyped in m68k/cpu.h now 1997-04-09 20:56:46 +00:00
thorpej
28177dbb17 Pull in <m68k/kcore.h> 1997-04-09 20:55:47 +00:00
thorpej
6a4790ef0a Remove redundant file directives 1997-04-09 20:54:41 +00:00
jeremy
fa9f5b2448 Constants for the p4 register. 1997-04-09 04:50:43 +00:00
jeremy
3c962bb544 First working version. 1997-04-09 04:49:09 +00:00