freebsd-nq/sys/i386
Bruce Evans 83cca9682f Removed foot-shooting setting of CR0_TS in exec_setregs(). It is
unnecessary because cpu_setregs() and/or npxinit() always sets CR0_TS
during system initialization, and CR0_TS is set in the next statement
(fpstate_drop()) if necessary after system initialization.  Setting
it unnecessarily was less than a pessimization since it broke the
invariant that the npx can be used without an npxdna() trap if
fpucurthread is non-null.  The broken invariant became harmful when I
added an fnclex to npxdrop().

Removed setting of CR0_MP in exec_setregs().  This was similarly
unnecessary but was harmless.

Updated comments (mainly by removing them).  Things are simpler now
that we have cpu_setregs() and don't support a math emulator or pretend
to support not having either a math emulator or an npx.

Removed the ifdef for avoiding setting CR0_NE in the !SMP case in
cpu_setregs().  npx_probe() should reverse the setting if it wants to
force IRQ13 exception handling for testing.
2004-06-19 12:28:48 +00:00
..
acpica Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
bios o Return ai_batteries as 0xffffffff instead of -1. This is a nop change, but 2004-06-16 20:27:50 +00:00
compile
conf Fix a couple of typos. 2004-06-14 18:37:23 +00:00
cpufreq o Typo: Ternal -> Thermal. 2004-02-29 18:30:35 +00:00
i386 Removed foot-shooting setting of CR0_TS in exec_setregs(). It is 2004-06-19 12:28:48 +00:00
ibcs2 Nice, is a property of a process as a whole.. 2004-06-16 00:26:31 +00:00
include Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
isa Fixed a panic caused by over-optimizing npxdrop() in the non-FXSR case. 2004-06-18 02:10:55 +00:00
linux Change the types of vn_rdwr_inchunks()'s len and aresid arguments to 2004-06-05 02:18:28 +00:00
pci Remove atdevbase and replace it's remaining uses with direct references to 2004-06-10 20:31:00 +00:00
svr4 Attempt to make the proper changes here for the proc.h commit: 2004-01-05 00:29:00 +00:00
Makefile