freebsd-skq/sys/amd64
neel 7d7f92fbad Prefer x2apic mode when running inside a virtual machine.
Provide a tunable 'machdep.x2apic_desired' to let the administrator override
the default behavior.

Provide a read-only sysctl 'machdep.x2apic' to let the administrator know
whether the kernel is using x2apic or legacy mmio to access local apic.

Tested with Parallels Desktop 8 and bhyve hypervisors.
Also tested running on bare metal Intel Xeon E5-2658.

Obtained from:	NetApp
Discussed with:	jhb, attilio, avg, grehan
2012-12-16 00:57:14 +00:00
..
acpica - Remove unused code for CR3 and CR4. 2012-06-13 22:53:56 +00:00
amd64 Prefer x2apic mode when running inside a virtual machine. 2012-12-16 00:57:14 +00:00
compile
conf IFC @ r242684 2012-11-11 03:26:14 +00:00
ia32 Real hardware, as opposed to QEMU, does not allow to have a call gate 2012-08-14 12:13:27 +00:00
include Prefer x2apic mode when running inside a virtual machine. 2012-12-16 00:57:14 +00:00
linux32 Revert previous commit... 2012-10-10 08:36:38 +00:00
pci Remove duplicate code. Reduce diff between amd64 and i386. 2012-12-01 00:56:19 +00:00
vmm Properly screen for the AND 0x81 instruction from the set 2012-11-30 05:40:24 +00:00
Makefile Adjustments to make a tags file a bit more suitable to amd64. 2008-12-01 14:15:10 +00:00