Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ionescu007/SimpleVisor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/shv.h
diff options
context:
space:
mode:
authorJoe Sylve <joe.sylve@gmail.com>2016-04-13 07:51:29 +0300
committerJoe Sylve <joe.sylve@gmail.com>2016-04-14 21:29:17 +0300
commit4d680097ccaf564d0778feffefd960d8dbb913c6 (patch)
tree4787b58e6c39896aa91c0dbef917152ee8b02005 /shv.h
parentfd34922d68259a9a0a56054d92a7c5e2ca86e765 (diff)
Adjusted the MsrData in order to avoid reading from the MSR_IA32_VMX_VMFUNC MSR, which is not available on processors before Haswell. This MSR was not referenced in this project anyway.
Diffstat (limited to 'shv.h')
-rw-r--r--shv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shv.h b/shv.h
index e63e920..6fec689 100644
--- a/shv.h
+++ b/shv.h
@@ -75,7 +75,7 @@ typedef struct _SHV_VP_DATA
ULONG VpIndex;
volatile ULONG VmxEnabled;
ULONG64 SystemDirectoryTableBase;
- LARGE_INTEGER MsrData[18];
+ LARGE_INTEGER MsrData[17];
ULONGLONG VmxOnPhysicalAddress;
ULONGLONG VmcsPhysicalAddress;
ULONGLONG MsrBitmapPhysicalAddress;