1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/i386
Bruce Evans 37e52b59cc Use sufficient parentheses in macros.
Remove bogus input operands for fnsave(), fnstcw() and fnstsw().

Change all fwait's to fnop's.  This might help avoid hardware bugs.
Wait after fninit with an fnop.  This should be safer now.

Fix some spelling and formatting errors.

Use natural sizes for control and status words (u_short, promotes to int).

Don't clobber the SWI_CLOCK_MASK bits in npx0_imask when using IRQ13.

Set the devconf state correctly (always busy, if configured).  Improve
code for npx_registerdev() a little (gcc can't keep id->id_unit in a
register for some reason).  Don't register a nonexistent npx device.

Print a useful message in npxattach() again (delete references to errors
and not the whole message).  Don't print "387 emulator" if there is no
emulator in the kernel.

Use %p for pointers in error messages.

Don't clobber the FPU state when there is an FPU exception.  Just clear
the exception flags (after saving the flags as before).  This allows
debuggers and SIGFPE handlers to look at the full exception state.
SIGFPE handlers should normally return via longjmp(), which restores a
good FPU state (as before).  Returning from a SIGFPE handler may leave
the FPU in the wrong state (as before).

Clear the busy latch _after_ clearing the exception flags so that there
is less chance of getting a bogus h/w interrupt for a control operation.

Clear the saved exception status word when the next FPU instruction is
excuted so that it doesn't stick around until the next exception.

Clear the busy latch after fnsave() in npxsave() in case it was set when
npxsave() was called.
1995-01-03 04:00:06 +00:00
..
apm Don't push/pop the return-val register. (DUH!) 1994-12-16 07:31:47 +00:00
bios Don't push/pop the return-val register. (DUH!) 1994-12-16 07:31:47 +00:00
boot Really provide support for 3COM cards now. 1994-12-31 17:16:50 +00:00
conf Handle the aic7770 driver's dependancies correctly. 1994-12-31 19:27:29 +00:00
eisa Handle both channels of Twin channeled devices. Respect the configuration 1994-12-31 19:31:56 +00:00
i386 From Bill Paul: 1994-12-31 17:11:59 +00:00
ibcs2 Fix bug around VOP_READDIR, now takes 6 parameters not 4. 1994-12-14 22:03:48 +00:00
include Replace sv_ex_tw by padding (it is no longer used; the tag word in sv_env 1995-01-03 03:57:46 +00:00
isa Use sufficient parentheses in macros. 1995-01-03 04:00:06 +00:00
pci Restore my changes in rev 1.11 that Garrett killed in his commit. 1994-12-22 23:42:25 +00:00
scsi Handle both channels of Twin channeled devices. Respect the configuration 1994-12-31 19:31:56 +00:00
Makefile Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00