thorpej
cad3c2f3f0
Garbage-collected long-unused setredzone().
1997-05-26 00:27:43 +00:00
veego
a078a4be55
Fix lossage from the latest vm_pmap changes.
1997-05-19 10:14:47 +00:00
thorpej
2dc79e5c4b
Link this program statically.
1997-05-14 07:57:13 +00:00
gwr
a8af683eb9
Eliminate references to vmspace.vm_pmap
1997-05-13 18:00:49 +00:00
thorpej
4d989c06dd
Add the following drivers:
...
- frodo at intio
- dnkbd at frodo (commented out until integrated)
- apci at frodo
1997-05-12 08:24:56 +00:00
thorpej
f8337a2c14
Add apci driver glue.
1997-05-12 08:23:28 +00:00
thorpej
286b3b171d
Add glue for APCI driver at cdev minor #31 and in console switch.
1997-05-12 08:17:53 +00:00
thorpej
6cc1022d84
Garbage-collect an unneeded definition.
1997-05-12 08:14:01 +00:00
thorpej
a492e1df80
Add a kernel driver for the APCI 8250-like UARTs that live in the
...
Frodo ASIC, originally contributed by Mike Smith
<mike@pressed.spam.frisbee.net.au>, but reworked by me to:
- Essentially duplicate the dca driver, modifiying where necessary
to work with the APCI.
- Deal with the different Frodo autoconfiguration model.
- Don't attach a tty to the 0th UART - it's not really useful for much
more than the Domain keyboard.
- Added a routine to check for the existence of a DCA at select code 9.
On most models, the 1'th UART is mapped to select code 9 by the PROM,
and on these models, we do _NOT_ want to attach the device as an APCI.
However, on the 425e, this mapping does not take place, so we attach
as an APCI. The 2'th and 3'th UARTs always get tty instances.
- Add console support which will only be invoked on the 425e (i.e. check
for DCA at 9, and defer console to it if it exists).
1997-05-12 08:12:36 +00:00
thorpej
a155715d44
Add a driver for the Apollo Utility Chip (a.k.a. "frodo"), contributed
...
by Mike Smith <mike@pressed.spam.frisbee.net.au>, with some changes to
the autoconfiguration model and slight changes to the interrupt glue
by me.
1997-05-12 08:03:48 +00:00
thorpej
2392fb2a1c
Bump version: Added APCI console support
1997-05-12 07:58:08 +00:00
thorpej
83c63bd2de
- Always build a romout() stub.
...
- If kbdnmi() returns, stop cold, since it shouldn't.
1997-05-12 07:56:00 +00:00
thorpej
f39885279b
- Define INTIOBASE here for use by the standalone programs.
...
- Add some extern's for "userom" and romputchar()
1997-05-12 07:54:45 +00:00
thorpej
4e0ee78444
- Always build the romputchar() glue.
...
- Don't set "userom" in the trap handler (we didn't before, but we've
removed the previous CPP conditional that was used to enable it.)
1997-05-12 07:53:02 +00:00
thorpej
eac0352a9e
In kbdnmi(), after we have cleared the interrupt condition, reset
...
the machine, rather than simply returning to the assembly NMI handler.
Previously, the assembly handler would simply jump back to begin:, which
would frob the stack, and re-clear the BSS. However, this is not sufficient,
as there may be state in initialized data that must be restored. Thus,
the only reasonable solution is to re-load the boot block.
1997-05-12 07:51:32 +00:00
thorpej
c25bfe1365
Don't use hardcoded hex for the address of the internal HP-IB interface.
...
Instead, use definitions from <hp300/dev/dioreg.h>
1997-05-12 07:48:23 +00:00
thorpej
82ae3a106e
Don't use a hard-coded hex address for the 0'th APCI port; use definitions
...
from <hp300/dev/frodoreg.h>
1997-05-12 07:47:03 +00:00
thorpej
0c5b002449
Add prototypes for standalone APCI driver.
1997-05-12 07:45:41 +00:00
thorpej
05333d3fa5
- Add glue for standalone APCI console driver.
...
- Make the romputchar() useage conditional only on "userom".
1997-05-12 07:44:53 +00:00
thorpej
225fbfa100
Build the standalone APCI driver.
1997-05-12 07:43:18 +00:00
thorpej
bbbc6052c1
Add a standalone APCI driver, adapted from the standalone DCA driver
...
by me. This driver should only be invoked when there are no other
suitable console devices present in the system. This situation currently
exists on the 425e, for which we do not have a frame buffer driver,
and who's PROM does not map the second APCI UART to select code 9,
like is done on the 4{00,25,33}{t,s}.
1997-05-12 07:41:55 +00:00
mycroft
cc4a1553a1
Eliminate bogus redefinitions of standard targets.
1997-05-09 07:50:03 +00:00
mycroft
84bca5d679
Don't use _SUBDIRUSE outside of bsd.subdir.mk.
1997-05-07 17:28:47 +00:00
lukem
7f69a90075
whitespacos i missed
1997-05-07 00:29:18 +00:00
lukem
3490941ddb
cleanup unecessary quotage of options
1997-05-07 00:27:33 +00:00
lukem
4abf5a1a72
be consistent with use of spaces and tabs.
...
don't need quotes around options with _'s in the name
1997-05-06 00:56:53 +00:00
thorpej
3a12db07c6
Update for USELEDS changes (including: garbage-collect LED frobbing
...
code; it has moved to leds.c)
1997-05-05 21:15:41 +00:00
thorpej
500498e411
Update for USELEDS changes.
1997-05-05 21:14:04 +00:00
thorpej
e677b62290
Garbage-collect LED-related stuff.
1997-05-05 21:12:49 +00:00
thorpej
aec958ddf3
Don't initialize the DMA controller here.
1997-05-05 21:11:59 +00:00
thorpej
95bae625a2
Update for USELEDS changes.
1997-05-05 21:09:13 +00:00
thorpej
9c8fdf3dad
Use dio_intr_establish().
1997-05-05 21:08:26 +00:00
thorpej
9eddfbfca3
Update for USELEDS changes.
1997-05-05 21:07:31 +00:00
thorpej
ff163c6424
Use dio_intr_establish().
1997-05-05 21:06:41 +00:00
thorpej
feb623a9ea
- Use dio_intr_establish().
...
- Update for USELEDS changes.
1997-05-05 21:05:32 +00:00
thorpej
3a85f14da4
Use dio_intr_establish().
1997-05-05 21:04:16 +00:00
thorpej
73b24faec6
Do a bit of spring cleaning.
1997-05-05 21:02:39 +00:00
thorpej
82cab4fef4
Prototype dio_intr_establish() and dio_intr_disestablish().
1997-05-05 21:01:33 +00:00
thorpej
5bada123f8
- Initialize the DMA controller in dioattach().
...
- Implement dio_intr_establish() and dio_intr_disestablish().
1997-05-05 21:00:32 +00:00
thorpej
0a8e2a9ce8
Use dio_intr_establish().
1997-05-05 20:58:18 +00:00
thorpej
bd2bc06c75
- Make "USELEDS" a defopt'd option, so we can generate dependencies on
...
it. Conditionally compile leds.c on USELEDS.
- Rearrange mainbus and intio declarations slightly.
- Add declaration for the forthcoming "frodo" driver.
1997-05-05 20:57:29 +00:00
thorpej
663cee4555
Pull the LED frobbing code out of machdep.c. Since there is more than
...
one LED on an hp300 SPU, rename the file to indicate plurality.
1997-05-05 20:54:34 +00:00
thorpej
397e92e33c
New-style kgdb_machdep.c, mostly duplicated from the sun3 port, modified
...
slightly by me.
1997-05-05 20:51:05 +00:00
thorpej
95dd345f81
Garbage-collect old KGDB code that is no longer used.
1997-05-05 20:48:26 +00:00
mycroft
94313a874b
Oops; reverse sense of previous test.
1997-05-03 08:46:09 +00:00
mycroft
1dafb51ea6
Eliminate unused variable in '030-only kernels.
1997-05-03 08:41:29 +00:00
mycroft
fc324bb0b9
Eliminate unused variable when !USELEDS.
1997-05-03 07:09:57 +00:00
thorpej
766d429d62
Correct a comment long since outdated.
1997-05-01 16:24:26 +00:00
thorpej
989ed431e1
Oops, the numbers for "t" and "s" got swapped around. No functional
...
difference, just correct now.
1997-05-01 05:26:48 +00:00
thorpej
97a6c32e58
Garbage-collect a bunch of _very_ hp300-specific code, most of which
...
doesn't work anyhow (due to current and future fundamental differences
between NetBSD and HP-UX device semantics). This can probably be shared
with other m68k ports now.
1997-04-27 21:38:57 +00:00