freebsd-nq/sys/i386/isa
Bruce Evans bd1a3f1a7e Fixed a panic caused by over-optimizing npxdrop() in the non-FXSR case.
frstor can trap despite it being a control instruction, since it bogusly
checks for pending exceptions in the state that it is overwriting.
This used to be a non-problem because frstor was always paired with a
previous fnsave, and fnsave does an implicit fninit so any pending
exceptions only remain live in the saved state.  Now frstor is sometimes
paired with npxdrop() and we must do a little more than just forget
that the npx was used in npxdrop() to avoid a trap later.  This is a
non-problem in the FXSR case because fxrstor doesn't do the bogus check.

FXSR is part of SSE, and npxdrop() is only in FreeBSD-5.x, so this bug
only affected old machines running FreeBSD-5.x.

PR:		68058
2004-06-18 02:10:55 +00:00
..
ic Remove old cy driver files. They have been repo-copied to sys/dev/cy and 2004-05-02 05:38:49 +00:00
pcvt Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
atpic_vector.s MFamd64: 2004-05-26 07:43:41 +00:00
atpic.c Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
ccbque.h
clock.c Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
elcr.c Add a simple mini-driver for the ELCR register. Originally, the ELCR 2004-05-04 20:07:46 +00:00
elink.c Use __FBSDID(). 2003-06-02 16:32:55 +00:00
elink.h - Change ELINK_ID_PORT; the 3c507 likes 0x100 better. 2003-03-29 13:18:20 +00:00
icu.h - Move some macros from icu.h into atpic.c as that is the only place they 2004-05-11 20:23:24 +00:00
if_el.c Add missing #include <sys/module.h> 2004-05-30 20:34:58 +00:00
if_elreg.h
isa_dma.c Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
isa_dma.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
isa.c remove stale comment since these limits have been increased YEARS ago... 2004-03-17 19:04:58 +00:00
isa.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
lptreg.h
mse.c Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
nmi.c Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
npx.c Fixed a panic caused by over-optimizing npxdrop() in the non-FXSR case. 2004-06-18 02:10:55 +00:00
pcf.c Remove isa compat stuff. 2004-03-14 23:03:57 +00:00
pmtimer.c Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
prof_machdep.c Quick fix for overflow when tsc_freq >= 2^31. "int profrate" in struct 2004-05-26 09:43:38 +00:00
spic.c Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
spicreg.h Device megapatch 1/6: 2004-02-21 19:42:58 +00:00
spkr.c Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
timerreg.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
vesa.c Remove atdevbase and replace it's remaining uses with direct references to 2004-06-10 20:31:00 +00:00