Commit Graph

905 Commits

Author SHA1 Message Date
mycroft
c8e379015c Fix sysbeep() for the case of pitch == 0, and garbage collect a useless
variable.
1995-08-13 04:06:29 +00:00
mycroft
3ee59cd771 Fix oversight in previous change; spl*() must also block
software interrupts.
1995-08-09 01:47:37 +00:00
mycroft
bc59b73733 Merge npxinit() into npxdna(), and remove duplicated code. 1995-08-06 19:48:58 +00:00
mycroft
b725d8b30b Update the comment describing how this works. 1995-08-06 19:31:49 +00:00
mycroft
ef504e724d Fix oversight in previous. 1995-08-06 18:05:22 +00:00
mycroft
d730fead60 Eliminate direct uses of curproc in npxdna() and npxinit(). 1995-08-06 17:59:10 +00:00
mycroft
a326c49adf Stop using cr0 to flag that the FPU has not been used. 1995-08-06 06:05:28 +00:00
mycroft
ce7cc0c18a Move the `used fpu' flag into mdproc, so it can be referenced when a process
is swapped out.  Implement process_{read,write}_fpregs.
1995-08-06 05:32:59 +00:00
mycroft
7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
mycroft
9fbf4d6f47 Make hardware interrupts always block all software interrupts. 1995-07-04 07:09:53 +00:00
paulus
f3285c2e0e Add call to pppintr in softnet. 1995-07-04 07:00:47 +00:00
cgd
2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
cgd
59e990a56b check CMOS time against base time, for sanity. if CMOS time invalid,
warn user and user base time.  if base time < 1985, warn the user.
if base time 5 or more years different than clock time, warn user,
and if it's base time that's greater, use it.  (The latter case is
handy if one has a machine in which the CMOS battery is dead... I do.)
1995-06-26 10:14:05 +00:00
cgd
c8858650b0 DEBUG -> FD_DEBUG, so this thing doesn't spew when used with options DEBUG 1995-06-26 05:47:40 +00:00
cgd
dd3e2df4a7 make dump stubs consistent. fix other piece of code to compile
properly with DEBUG; used bogus variable.
1995-06-26 05:20:40 +00:00
jtc
611c2dbdc8 fix typo 1995-06-23 01:33:43 +00:00
cgd
e58dfa2a1a make match/attach routines and cfdriver struct mi 1995-06-07 07:06:16 +00:00
mycroft
bd99191320 IPL_IMP includes IPL_NET, IPL_BIO, and possibly IPL_TTY. 1995-06-04 08:32:24 +00:00
brezak
cfe5401c83 Integrate patch from Lon Willett that is part of release 3.20 1995-06-02 02:48:41 +00:00
jtc
f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
mycroft
af7265051f The previous optimization only works for edge-triggered interrupts... 1995-05-08 18:00:20 +00:00
mycroft
524c9c7f2a Use nvram.h. 1995-05-05 22:28:17 +00:00
mycroft
8fc6a61adc Add definitions for NVRAM equipment byte. 1995-05-05 22:08:43 +00:00
cgd
2e0e8fc49d use the machine-independent definitions for the mc146818.
wrap the various uses of the chip (including the uses of the NVRAM on it)
around the new defintions, structures, and functions specified in the header.
1995-05-04 19:39:08 +00:00
cgd
7153343684 two cases to quiet the compiler. perhaps should be fixed differently. 1995-05-04 19:35:20 +00:00
mycroft
0175317fc3 If we decide to use IRQ 13, explicitly turn off CR0_NE to be sure. 1995-05-04 00:30:56 +00:00
mycroft
94f4346537 Update a comment to match that last change. 1995-05-04 00:20:40 +00:00
mycroft
f0a42753e4 npxinit() should not be called during autoconfig now. Watch for this
condition.
1995-05-04 00:16:40 +00:00
mycroft
e03a827a0a Move some comments from before npxsave1() to before npxsave(). 1995-05-04 00:00:25 +00:00
mycroft
bfef4c14c5 Slight rearrangement, to make the TS handling easier to follow. 1995-05-03 23:09:37 +00:00
mycroft
d23aebf3bb Fix pccnpollc(). 1995-05-03 20:46:32 +00:00
mycroft
6db4e1b58a By default, don't frob the ICU masks here. The software masking should
be sufficient.
1995-05-03 14:31:35 +00:00
mycroft
e772f7c5ef Set PCB_USEDFPU. 1995-05-03 00:09:13 +00:00
mycroft
e5d7ebde66 Update to match include files. 1995-05-01 11:07:40 +00:00
mycroft
87b25c7f5c Update to match include files. Eliminate _ucodesel, _udatasel, and IdlePTD. 1995-05-01 08:25:30 +00:00
mycroft
17a5f987ba Be more aggressive about lazy saving and initialization. 1995-05-01 04:47:43 +00:00
mycroft
ca88acc618 Fix an oversight. 1995-04-22 01:25:41 +00:00
mycroft
fb82503a03 Fix some outdated comments. 1995-04-22 00:58:19 +00:00
mycroft
c78d8f5e0b Replace btl with testl. 1995-04-22 00:54:21 +00:00
mycroft
4cd20dfe0a Move some comments to more appropriate places. 1995-04-22 00:30:47 +00:00
mycroft
b5eab728c1 Make this compile again. 1995-04-21 19:44:52 +00:00
mycroft
30e61f6c45 Make RB_KBD work again. 1995-04-21 07:56:40 +00:00
mycroft
8190c2e3e7 Clean up hole conversion functions a little. 1995-04-21 05:21:37 +00:00
mycroft
d3672cc33f We need isa_machdep.h for now. 1995-04-21 05:10:02 +00:00
mycroft
d3971b501d Remove relocation of Crtat from locore. 1995-04-21 04:51:30 +00:00
mycroft
943618dbe5 Fix thinko in previous commit. 1995-04-19 22:08:08 +00:00
mycroft
53d73c77a5 Garbage collect #includes. 1995-04-19 19:10:35 +00:00
mycroft
aed68a1067 Implement pctty(). 1995-04-19 18:33:27 +00:00
mycroft
b665ddf808 Implement pctty(). 1995-04-19 18:10:47 +00:00
cgd
eb1375b9c2 fix my IPL level off-by-one. also, rename intr_disestablish to
isa_intr_disestablish like i meant to before.
1995-04-19 06:14:13 +00:00