1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00
freebsd/sys/i386
John Baldwin d706ec297a Add a clts() wrapper around the 'clts' instruction to <machine/cpufunc.h>
on x86 and use that to implement stop_emulating() in the fpu/npx code.
Reimplement start_emulating() in the non-XEN case by using load_cr0() and
rcr0() instead of the 'lmsw' and 'smsw' instructions.  Intel explicitly
discourages the use of 'lmsw' and 'smsw' on 80386 and later processors in
the description of these instructions in Volume 2 of the ADM.

Reviewed by:	kib
MFC after:	1 month
2012-07-09 20:55:39 +00:00
..
acpica - Fix resumectx() prototypes to reflect reality. 2012-06-13 21:03:01 +00:00
bios
compile
conf - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
i386 Partially revert r217515 so that the mem_range_softc variable is always 2012-07-09 20:42:08 +00:00
ibcs2
include Add a clts() wrapper around the 'clts' instruction to <machine/cpufunc.h> 2012-07-09 20:55:39 +00:00
isa Add a clts() wrapper around the 'clts' instruction to <machine/cpufunc.h> 2012-07-09 20:55:39 +00:00
linux
pci
svr4
xbox
xen Various small changes to PV entry management: 2012-06-04 03:51:08 +00:00
Makefile