mycroft
8ee41dc35a
Make sure some registers are accessed in 16-bit mode.
1996-01-08 22:23:35 +00:00
mycroft
d74e9d43ab
Also reset %fs and %gs when delivering a signal.
1996-01-08 20:12:20 +00:00
mycroft
47e444bf50
Attempt to deal with wrap-around problems in 16-bit segments.
1996-01-08 19:11:00 +00:00
mycroft
7149c5ff14
VM86 support, by John Kohl, touched up a bit by me.
1996-01-08 13:51:30 +00:00
thorpej
5b39541e48
New generic disk framework. Highlights:
...
- New metrics handling. Metrics are now kept in the new
`struct disk'. Busy time is now stored as a timeval, and
transfer count in bytes.
- Storage for disklabels is now dynamically allocated, so that
the size of the disk structure is not machine-dependent.
- Several new functions for attaching and detaching disks, and
handling metrics calculation.
Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.
For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
mycroft
87a8c945ba
Hand-code softintr() to deal with GCC braindamage.
1996-01-07 21:48:35 +00:00
mycroft
ba1353b388
Stylistic changes.
1996-01-07 21:29:47 +00:00
mycroft
0696821419
Deal with GCC's dead code elimination being suboptimal.
1996-01-07 03:59:28 +00:00
mycroft
41f463bf2c
Modify splraise() to allow better optimization.
1996-01-07 02:40:44 +00:00
mycroft
946507cf4d
Make cpl, ipending, and astpending volatile.
1996-01-07 02:08:28 +00:00
mycroft
3afeb8d6b0
Make sure interrupts are disabled before jumping to a resume point, to prevent
...
races.
1996-01-07 02:07:07 +00:00
mycroft
f149f4f6f1
Make FPU faults use INTRFASTEXIT, and remove INTREXIT.
1996-01-07 02:04:31 +00:00
mycroft
9e6f4ae58a
Remove unused macros.
1996-01-07 02:03:20 +00:00
mycroft
19914b6e10
Build the frame for recursive interrupts manually, and make sure to disable
...
interrupts to avoid races.
1996-01-07 02:02:28 +00:00
mycroft
7f6d0eaf9b
Put #includes in the right order.
1996-01-07 02:00:31 +00:00
mycroft
96e91cd027
Don't save caller-saved registers.
1996-01-06 22:15:29 +00:00
jtc
2fce159ff8
Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
...
traditional usage.
1996-01-04 22:21:33 +00:00
thorpej
17eb6e2bc1
Move the old-style disk instrumentation "structures" to a central location
...
(sys/kern/subr_disk.c) and note that they should/will be deperecated.
1995-12-28 19:16:31 +00:00
perry
74e1e47aeb
fixed my own pr 1758 -- the floppy drive motor was not being turned off
...
at halt time, especially if a floppy was mounted. Added a shutdown hook
to turn off the motor. Per a request by mycroft, the cookie from the hook
is saved in a new member I added to the fd_softc structure.
1995-12-28 15:48:57 +00:00
mycroft
883fb8f0ca
Copy md_flags during fork.
1995-12-26 16:59:47 +00:00
mycroft
cd8fe86bcb
Make the type of __builtin_va_list a long.
1995-12-26 01:16:24 +00:00
mycroft
0c00214737
Use __builtin_va_alist.
1995-12-26 00:19:09 +00:00
mycroft
fa887628d8
Stylistic changes.
1995-12-25 23:15:31 +00:00
mycroft
d1de691efb
Stylistic changes.
1995-12-25 22:22:02 +00:00
mycroft
0199e002ad
Update for GCC 2.7, and fix bugs.
1995-12-25 21:41:08 +00:00
neil
c93761e267
Added ccd pseudo device.
1995-12-24 18:00:29 +00:00
mycroft
3da4b2a160
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
...
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
mycroft
1ca89b7f91
Enable paging of the user area.
1995-12-24 01:07:32 +00:00
neil
6d9d4bb77a
Added ccd pseudo-device.
1995-12-24 00:22:20 +00:00
perry
765bb97fe9
fix my own pr 1762, in which it was noted that boot2 used a busy loop
...
to time out the boot prompt. Now uses a usleep() routine that calls
the BIOS and the functionality is separate from gets(). Timeout is
#defined to 5 seconds. Also did some minor cleanup in preparation to
prototype/ANSIfy everything.
1995-12-23 17:21:23 +00:00
mycroft
d2e4a2de4b
Minor cleanup.
1995-12-21 01:08:59 +00:00
mycroft
6698d239ca
Use the U suffix to insure unsigned values are treated as such.
1995-12-20 23:30:57 +00:00
mycroft
e28d5e9168
Use #pragma only for 2.0 <= GCC < 2.7.
1995-12-20 18:09:24 +00:00
mycroft
e09cc4cf9d
Use alternate structure packing method added in GCC 2.7.
1995-12-20 17:58:55 +00:00
mycroft
dab27d0c21
Use explicit integer sizes. Adjust constraints for GCC 2.7.2.
1995-12-20 07:53:09 +00:00
ghudson
132f58bfc5
Call doshutdownhooks() before asking for a halt keypress.
1995-12-14 18:31:20 +00:00
tls
9ddf72180a
add 3C590 support to all generic and install kernels
1995-12-14 01:09:59 +00:00
cgd
0585b39d85
use pcvt, with PCVT_NSCREENS=1 and PCVT_24LINESDEF.
1995-12-12 01:52:39 +00:00
mycroft
3a0fa6f8ee
NISA --> NISADMA, per Neil McRae.
1995-12-09 07:39:02 +00:00
mycroft
498f9ca1e7
Include /dev/io as one of the `kmem' devices.
1995-12-09 05:53:00 +00:00
mycroft
76813521bb
Return 0 in the child, not the parent pid.
1995-12-09 05:00:27 +00:00
mycroft
0e0ac5ed68
cpu_fork() now returns void.
1995-12-09 04:37:23 +00:00
jtc
0cd793449e
merge in changes from 1.1 release branch
1995-11-30 00:56:23 +00:00
mycroft
e2baea19f3
Make sure vt_coldinit() is called before vt_coldmalloc().
1995-11-26 21:01:16 +00:00
jtc
ce0b404f4e
fixup copyright notice before the release
1995-11-17 06:47:27 +00:00
cgd
e9ef628234
don't link against libkern, so that boot blocks will work properly.
...
(pulled down from 1.1 release branch.)
1995-11-16 22:38:16 +00:00
christos
c0aaa86553
Add a config line for 3c590 ethernet cards
1995-11-10 19:34:54 +00:00
fvdl
051bb183e3
Same as in 1.1 branch.
1995-11-09 08:40:51 +00:00
hpeyerl
5d67fa8cb9
Taking out the trash.
1995-10-31 18:03:39 +00:00
tls
20fd1b6a7f
Start to sort out install kernel size and bt/aha issues. Will be revised.
1995-10-28 04:06:21 +00:00