diff options
author | ionescu007 <aionescu+git@gmail.com> | 2016-08-29 06:09:30 +0300 |
---|---|---|
committer | ionescu007 <aionescu+git@gmail.com> | 2016-08-29 06:09:30 +0300 |
commit | 0a7f4aed4db944cb8b8d3c468a303538120f53aa (patch) | |
tree | e9ba2a0f94a3f68bdd3836f5acf611bdd57d59cd | |
parent | 3b0428646368e7a38312d7e11a64a7e0c9e960aa (diff) |
Fix regression
-rw-r--r-- | shv.c | 4 | ||||
-rw-r--r-- | shv.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -100,8 +100,8 @@ ShvInitialize ( // if (dpcContext.InitMask != ((1ULL << cpuCount) - 1)) { - DbgPrintEx(77, 0, "The SHV failed to initialize. CPU Mask: %llx\n", - dpcContext.InitMask); + DbgPrintEx(77, 0, "The SHV failed to initialize (0x%lX) CPU Mask: %llx\n", + dpcContext.FailureStatus, dpcContext.InitMask); NT_ASSERT(dpcContext.FailureStatus != STATUS_SUCCESS); ExFreePoolWithTag(ShvGlobalData, 'ShvA'); return dpcContext.FailureStatus; @@ -51,7 +51,7 @@ typedef struct _SHV_VP_DATA volatile ULONG VmxEnabled; ULONG64 SystemDirectoryTableBase; - LARGE_INTEGER MsrData[16]; + LARGE_INTEGER MsrData[17]; ULONGLONG VmxOnPhysicalAddress; ULONGLONG VmcsPhysicalAddress; ULONGLONG MsrBitmapPhysicalAddress; |