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
jeremy
5efd258691
Add p4 register pointer to softc struct.
1997-04-09 04:47:13 +00:00
jeremy
085494c2d9
Add location of P4 register. Maybe this should go in obmem.h?
1997-04-09 04:46:11 +00:00
jeremy
d4285e0617
Add needed support for P4 register. Works with X now.
1997-04-09 04:43:52 +00:00
jeremy
b7dd41d4e2
Location of printer port registers for 3/80 was off.
1997-04-09 04:42:25 +00:00
jeremy
ee8819cf64
Obio and obmem busses now support devices with vectored interrupts. Needed
...
for floppy driver.
Made comments about soon-to-be introduced parallel port driver more specific.
1997-04-09 04:38:49 +00:00
jeremy
60d41bb34e
Add floppy controller and floppy drive. Also add MS-DOS filesystem for
...
use with floppies. Remove 'SYMTAB_SPACE' now that we have our own
bootloader.
1997-04-09 04:36:56 +00:00
gwr
b5f838ad77
Add a comment.
1997-04-04 20:48:59 +00:00
gwr
0faac5faf2
Back-out the CWD hack...
1997-04-01 23:11:28 +00:00
jeremy
68755b199e
Physical page status functions pmap_clear_reference()
...
and pmap_clear_modify() weren't testing if the page whose status was being
changed was being managed. This caused kernel panics with X11.
1997-04-01 02:15:33 +00:00
gwr
a09110f073
Use <m68k/pcb.h>
1997-03-31 21:35:39 +00:00
jeremy
b572daa4dc
In-tree GNU ``as'' does not know of 'pmove <reg>,tt0' instruction. Changed
...
instances of this instruction to hardcoded opcode statements. Thanks to
jthorpe for pointing this out.
1997-03-31 02:22:25 +00:00
thorpej
80631ee3b7
Keep the compile/ directory in the distribution.
1997-03-31 01:23:37 +00:00
thorpej
2268a2c7eb
Don't allocate mclrefcnt[]; it's dead and gone.
1997-03-27 21:01:52 +00:00