freebsd-dev/sys/amd64
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 - Remove unused code for CR3 and CR4. 2012-06-13 22:53:56 +00:00
amd64 Add a clts() wrapper around the 'clts' instruction to <machine/cpufunc.h> 2012-07-09 20:55:39 +00:00
compile
conf tws(4) is interfaced with CAM so move it to the same section. 2012-07-01 08:10:49 +00:00
ia32 Eliminate ia32_reg.h by moving its contents to x86 and ia64 reg.h. 2012-03-18 19:12:11 +00:00
include Add a clts() wrapper around the 'clts' instruction to <machine/cpufunc.h> 2012-07-09 20:55:39 +00:00
linux32 Regenerate system call tables. 2012-05-25 21:52:57 +00:00
pci Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to 2011-06-22 21:04:13 +00:00
Makefile Adjustments to make a tags file a bit more suitable to amd64. 2008-12-01 14:15:10 +00:00