HyperPlatform Programmer's Reference
|
Declares interfaces to EPT functions. More...
#include <fltKernel.h>
Go to the source code of this file.
Classes | |
union | EptCommonEntry |
A structure made up of mutual fields across all EPT entry types. More... | |
Functions | |
bool | EptIsEptAvailable () |
Checks if the system supports EPT technology sufficient enough. More... | |
ULONG64 | EptGetEptPointer (_In_ EptData *ept_data) |
Returns an EPT pointer from ept_data. More... | |
void | EptInitializeMtrrEntries () |
Reads and stores all MTRRs to set a correct memory type for EPT. More... | |
EptData * | EptInitialization () |
Builds EPT, allocates pre-allocated entires, initializes and returns EptData. More... | |
void | EptTermination (_In_ EptData *ept_data) |
De-allocates ept_data and all resources referenced in it. More... | |
void | EptHandleEptViolation (_In_ EptData *ept_data) |
Handles VM-exit triggered by EPT violation. More... | |
EptCommonEntry * | EptGetEptPtEntry (_In_ EptData *ept_data, _In_ ULONG64 physical_address) |
Returns an EPT entry corresponds to physical_address. More... | |
Declares interfaces to EPT functions.
Definition in file ept.h.
ULONG64 EptGetEptPointer | ( | _In_ EptData * | ept_data | ) |
Returns an EPT pointer from ept_data.
ept_data | EptData to get an EPT pointer |
EptCommonEntry* EptGetEptPtEntry | ( | _In_ EptData * | ept_data, |
_In_ ULONG64 | physical_address | ||
) |
Returns an EPT entry corresponds to physical_address.
ept_data | EptData to get an EPT entry |
physical_address | Physical address to get an EPT entry |
void EptHandleEptViolation | ( | _In_ EptData * | ept_data | ) |
Handles VM-exit triggered by EPT violation.
ept_data | EptData to get an EPT pointer |
EptData* EptInitialization | ( | ) |
Builds EPT, allocates pre-allocated entires, initializes and returns EptData.
A driver must call EptTermination() with a returned value when this function succeeded.
Definition at line 399 of file ept.cpp.
void EptInitializeMtrrEntries | ( | ) |
bool EptIsEptAvailable | ( | ) |
void EptTermination | ( | _In_ EptData * | ept_data | ) |
De-allocates ept_data and all resources referenced in it.
ept_data | A returned value of EptInitialization() |