andrew
6273afbfb5
Fixed typo.
1993-06-27 05:54:40 +00:00
andrew
16947975c7
Replace SHOW_A_LOT_NOT with a more meaningful commented-out SHOW_A_LOT.
1993-06-27 05:43:37 +00:00
andrew
f024b50a47
Enable AUTO_EOI_1 by default; leave AUT_EOI_2 alone, even if it does seem
...
to work very well, to avoid any potential troubal.
1993-06-27 05:42:45 +00:00
andrew
0bffd21fdb
Replaced 386BSD conditionals with a NetBSD ones. Fixed a bug in 386BSD
...
support. Cast arguments to tsleep() and wakeup() to avoid compiler
warnings.
1993-06-27 05:39:44 +00:00
andrew
d75ed5fc23
Added bus mice.
1993-06-27 05:33:18 +00:00
andrew
cf73b57b22
Changed the I486_CPU conditionals to be !I386_CPU, to handle the case
...
where both I386_CPU and I486_CPU are configured in the same kernel.
1993-06-27 05:24:24 +00:00
andrew
4b741818d8
Neatened up the AUTO_EOI conditionals. FAST_VECTOR() now saves & restores
...
the ES register, just to be on the safe side (since ES is used in some
locore routines).
1993-06-27 05:15:06 +00:00
andrew
d9022f90d2
Don't try to include "sio.h" just yet.
1993-06-27 04:59:47 +00:00
andrew
a9f16886f9
Re-entrancy protection.
1993-06-27 04:50:12 +00:00
andrew
e495c42118
Added a call to SHOW_STI in BPTTRAP macro. Avoid lots of nops and use
...
bswap if we're a i486.
1993-06-27 04:27:58 +00:00
andrew
13834263a8
Clobbered '/*' within comment, to keep gcc -Wall happy.
1993-06-27 01:24:55 +00:00
glass
b7d7bfa239
fixed bug in mon.h; fixed NEED_* in cpu.h; spl macro problems
1993-06-27 00:52:18 +00:00
glass
b2561649ca
theoretically (uncompiled), both a prom tty driver and prom as console
...
support
1993-06-27 00:51:23 +00:00
glass
90a6135104
use gas; add support for more stuff
1993-06-27 00:50:39 +00:00
glass
e1fec74952
clock.c: now compiles even if address is bogus :)
...
conf.c: compiled, until prom addition :)
cons.c: add entry for prom driver
lib.s: remove some includes; we're being included by locore.s
locore.s: include asm.h, syscall.h, add icode
m68k.s: now included by locore.s
added signal.s; contains signal support
sun3_startup.c: fixed compile bug in vector table initialization; fixed mon
usage
swapgeneric.c: doesn't refer to drivers we don't have
1993-06-27 00:46:09 +00:00
glass
4c06bc4b0d
removed dumb define for enablertclock()
1993-06-26 01:29:40 +00:00
glass
124d060763
added resettodr()
1993-06-26 01:17:52 +00:00
glass
fba81270ab
new intersil clock support; this time written from datasheet
...
still need to write resettodr()
1993-06-25 23:07:14 +00:00
glass
24e43b8ea3
initial commit
1993-06-25 10:31:21 +00:00
glass
c6b347c351
adding include files...not much of this works
1993-06-25 10:28:37 +00:00
glass
68f2474ad2
initial commit. little of this actually works
1993-06-25 10:26:08 +00:00
glass
086f942e40
keep the directory from being deleted
1993-06-25 10:25:13 +00:00
mycroft
100f7b0bc5
Oops. Reversed order of args to outb(). Still haven't gotten my 486 booted
...
with a new kernel to actually test this, though.
1993-06-23 05:48:57 +00:00
deraadt
05f50ca11e
I don't know what I did that was so critical, but now the floppy driver
...
works on my machine (it did not before). Big voodoo.
1993-06-21 09:39:52 +00:00
deraadt
80ab28ea30
if the floppy does not exist, say nothing.
1993-06-20 08:42:05 +00:00
deraadt
277c73694e
print "maddr 0xd0000 msize 65536" as "maddr 0xd0000-0xdffff" instead.
1993-06-20 07:24:53 +00:00
cgd
d1ed63195d
fix the divide-by-zero problem w/old disks. this patch is ws's "fault."
1993-06-18 20:45:35 +00:00
cgd
55c2266339
install floppy boot block, too.
1993-06-18 08:03:14 +00:00
cgd
c8bdad0560
convert magic numbers to network byte order, and attendent changes
1993-06-18 06:49:30 +00:00
cgd
9f1a8dc335
new floppy driver, merged from patchkit patch #153
1993-06-18 06:19:16 +00:00
cgd
6046a36e2d
make it *do* something when loading the kernel, a la sun twiddling-thing
1993-06-18 02:28:58 +00:00
brezak
62571113bd
Use NNPX instead of NPX from npx.h for activating npx.
1993-06-18 02:03:34 +00:00
mycroft
420720c2f3
Clean up deleted files.
1993-06-17 04:24:06 +00:00
mycroft
df4fb4cae4
Make ioctl definitions ANSI-compliant.
1993-06-17 04:07:41 +00:00
jtc
2a6a498c49
Move my assembly versions of strlen and ffs into the kernel
1993-06-16 22:22:39 +00:00
mycroft
409bc91101
Move asm.h from /usr/include/sys to /usr/include/machine.
1993-06-16 21:42:43 +00:00
brezak
06dc5c8e13
Use defines in timerreg.h and add spkr_reg.h for specific declarations.
1993-06-16 19:41:54 +00:00
mycroft
8959c6e228
Clean up deleted files.
1993-06-16 18:12:30 +00:00
brezak
c9a48f2b77
Move spkr.h to include/machine so users can use it.
1993-06-16 18:12:23 +00:00
mycroft
5a2b8d1abb
Fix typo.
1993-06-16 02:59:42 +00:00
mycroft
94df11ad63
Make sysbeep() take a frequency, not a timer count, and add constants
...
BEEP_FREQ and BEEP_TIME which can be overridden in the config file.
1993-06-16 02:57:17 +00:00
mycroft
db4a41293e
Nuke MID_I486 case.
1993-06-15 21:56:58 +00:00
mycroft
528edf6037
Move definitions of TIMER_FREQ to timerreg.h, and fix value of CF for DELAY().
1993-06-15 21:37:14 +00:00
mycroft
2a2bde915f
Need to check soft interrupts as well as ICU for overflow.
1993-06-15 20:54:06 +00:00
mycroft
930a773dce
Clean up beep code a miniscule amount, add interrupt protection, and
...
make multiple beeps generate a continuous tone.
1993-06-15 20:34:54 +00:00
mycroft
5592ad3fbb
Ignore interrupts if the device isn't open. This prevents stray interrupts
...
from hosing the works. What a stupid architecture.
1993-06-15 01:50:32 +00:00
cgd
fae2a0b6f8
the previous change (to make NOPs do idle stuff) was irrelevant,
...
apparently; lamp is now stable with NOPs that do nothing.
1993-06-15 01:27:14 +00:00
mycroft
938b01e0ae
Sigh. Save a few cycles occasionally.
1993-06-14 19:44:37 +00:00
mycroft
cf1dbb9fb8
Oops. Wrong name for ISO interrupt routine.
1993-06-14 19:35:59 +00:00
mycroft
e534ec58ec
Add support for other networks than INET.
1993-06-14 19:29:30 +00:00