opnsense-src/sys
Neel Natu c3498942a5 Restructure the MSR handling so it is entirely handled by processor-specific
code. There are only a handful of MSRs common between the two so there isn't
too much duplicate functionality.

The VT-x code has the following types of MSRs:

- MSRs that are unconditionally saved/restored on every guest/host context
  switch (e.g., MSR_GSBASE).

- MSRs that are restored to guest values on entry to vmx_run() and saved
  before returning. This is an optimization for MSRs that are not used in
  host kernel context (e.g., MSR_KGSBASE).

- MSRs that are emulated and every access by the guest causes a trap into
  the hypervisor (e.g., MSR_IA32_MISC_ENABLE).

Reviewed by:	grehan
2014-09-20 02:35:21 +00:00
..
amd64 Restructure the MSR handling so it is entirely handled by processor-specific 2014-09-20 02:35:21 +00:00
arm Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
boot
bsm
cam Fix inverted expression to report block size in mode page block descriptor. 2014-09-19 11:15:30 +00:00
cddl
compat
conf Fix static kernel build with options ZFS 2014-09-19 13:55:28 +00:00
contrib Quieten the AR9300 HAL attach a little - the setupXTxDesc method 2014-09-20 01:18:36 +00:00
crypto
ddb
dev Fix up the EDMA RX setup path to correctly initialise and reset the RX FIFO. 2014-09-20 01:22:17 +00:00
fs
gdb
geom
gnu
i386
isa
kern
kgssapi
libkern
mips Mechanically convert to if_inc_counter(). 2014-09-19 09:19:49 +00:00
modules Restructure the MSR handling so it is entirely handled by processor-specific 2014-09-20 02:35:21 +00:00
net Mechanically convert to if_inc_counter(). 2014-09-19 10:39:58 +00:00
net80211 Mechanically convert to if_inc_counter(). 2014-09-19 09:20:55 +00:00
netgraph
netinet Mechanically convert to if_inc_counter(). 2014-09-19 10:19:51 +00:00
netinet6
netipsec Mechanically convert to if_inc_counter(). 2014-09-19 10:18:14 +00:00
netnatm
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
pc98
pci Move rl(4) to dev/rl. 2014-09-19 10:32:20 +00:00
powerpc Mechanically convert to if_inc_counter(). 2014-09-19 09:20:34 +00:00
rpc
security
sparc64
sys
teken
tools
ufs
vm
x86 Restructure the MSR handling so it is entirely handled by processor-specific 2014-09-20 02:35:21 +00:00
xdr
xen
Makefile