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:
authorionescu007 <aionescu+git@gmail.com>2016-03-17 01:15:00 +0300
committerionescu007 <aionescu+git@gmail.com>2016-03-17 01:15:04 +0300
commit4478976173a68f5b227580f9c617bb62c975da83 (patch)
treedebe7c12f5636b1e49ef4a40f50a20c51d462e43 /shv.h
parent64bc6768a191fcea6b7aacd009a6280526b2862e (diff)
First round of cleanup
Begin refactoring and commenting efforts.
Diffstat (limited to 'shv.h')
-rw-r--r--shv.h49
1 files changed, 46 insertions, 3 deletions
diff --git a/shv.h b/shv.h
index 47a0a3d..c02f46b 100644
--- a/shv.h
+++ b/shv.h
@@ -82,7 +82,50 @@ typedef struct _SHV_VP_STATE
BOOLEAN ExitVm;
} SHV_VP_STATE, *PSHV_VP_STATE;
-VOID ShvVmxEntry(VOID);
-VOID ShvVmxCleanup(_In_ USHORT Data, _In_ USHORT Teb);
-VOID __lgdt(_In_ PVOID Gdtr);
+VOID
+ShvVmxEntry (
+ VOID
+ );
+VOID
+ShvVmxCleanup (
+ _In_ USHORT Data,
+ _In_ USHORT Teb
+ );
+
+VOID
+__lgdt (
+ _In_ PVOID Gdtr
+ );
+
+VOID
+ShvVmxLaunchOnVp (
+ _In_ PSHV_VP_DATA VpData
+ );
+
+VOID
+ShvUtilConvertGdtEntry (
+ _In_ PVOID GdtBase,
+ _In_ USHORT Offset,
+ _Out_ PVMX_GDTENTRY64 VmxGdtEntry
+ );
+
+ULONG
+ShvUtilAdjustMsr (
+ _In_ LARGE_INTEGER ControlValue,
+ _In_ ULONG DesiredValue
+ );
+
+PSHV_GLOBAL_DATA
+ShvVpAllocateGlobalData (
+ VOID
+ );
+
+BOOLEAN
+ShvVmxProbe (
+ VOID
+ );
+
+KDEFERRED_ROUTINE ShvVpCallbackDpc;
+
+extern PSHV_GLOBAL_DATA ShvGlobalData;