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
diff options
context:
space:
mode:
authorionescu007 <aionescu+git@gmail.com>2016-09-03 18:50:58 +0300
committerionescu007 <aionescu+git@gmail.com>2016-09-03 18:50:58 +0300
commit84c5f91b4c2c86438dfa703f514c5dbf05eddf03 (patch)
tree9cc2c578a70e8add2618a74f70a6eccb3d15bd4c /ntint.h
parentd580e2e5b8bac8b814927242ce773f366db62fde (diff)
Support VMWARE/non-EPT sytems. More portability support with non-NT systems. Refactoring. Reject NULL/LDT selectors when building VMCS.
Support systems without 1GB HugePage EPT support (such as Vmware) by simply not enabling EPT for the. Refactor header files and some definitions again to support non-NT. Deallocation routines on some platform need to have a size. Refactor alloc and free so this is easy to maintain portably. Make ShvVmxLaunchOnVpreturn a status code instead of VOID, so we can actually know if launch failed instead of just relying on CPUID (which, if the hypervisor was already loaded, misidentified that a second load failed, and instead assumed success). Refactor the launch/off-on-failure code into a ShvVmxLaunch routine. Fix some comments to reflect the new portability layer/refactoring. Factor out OS-specific load/unload logic (ShvOsPrepareProcessor/ShvOsUnprepareProcessor) Fix ShvUtilConvertGdtEntry to reject selectors with the TI bit set, or NULL selectors, and correctly mark them as unusable.
Diffstat (limited to 'ntint.h')
-rw-r--r--ntint.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ntint.h b/ntint.h
index 17e48f8..fdeb3b2 100644
--- a/ntint.h
+++ b/ntint.h
@@ -27,7 +27,6 @@ Environment:
#define DECLSPEC_NORETURN __declspec(noreturn)
#define FORCEINLINE __forceinline
#define C_ASSERT(x) static_assert(x, "Error")
-#define FIELD_OFFSET offsetof
#define UNREFERENCED_PARAMETER(x) (x)
#ifndef TRUE