diff options
author | ionescu007 <aionescu+git@gmail.com> | 2016-08-30 01:06:08 +0300 |
---|---|---|
committer | ionescu007 <aionescu+git@gmail.com> | 2016-08-30 01:06:08 +0300 |
commit | d580e2e5b8bac8b814927242ce773f366db62fde (patch) | |
tree | 77467f05c8ac86c8ea3b19dc6f595c6eb817f113 /vmx.h | |
parent | d9177eedf1993573e06f36beb41455ac36a76d42 (diff) |
More portability.
Fix the last few stragglers.
Diffstat (limited to 'vmx.h')
-rw-r--r-- | vmx.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,6 +31,7 @@ Environment: #define RPL_MASK 3 #define MTRR_TYPE_WB 6 #define EFLAGS_ALIGN_CHECK 0x40000 +#define PAGE_SIZE 4096 typedef struct _KDESCRIPTOR { @@ -409,7 +410,7 @@ enum vmcs_field { typedef struct _VMX_GDTENTRY64 { - ULONG_PTR Base; + uintptr_t Base; UINT32 Limit; union { @@ -441,7 +442,7 @@ typedef struct _VMX_GDTENTRY64 UINT16 Selector; } VMX_GDTENTRY64, *PVMX_GDTENTRY64; -typedef struct DECLSPEC_ALIGN(PAGE_SIZE) _VMX_VMCS +typedef struct _VMX_VMCS { UINT32 RevisionId; UINT32 AbortIndicator; |