]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/BaseLib.h
MdePkg/BaseLib: Add support for the VMGEXIT instruction
[mirror_edk2.git] / MdePkg / Include / Library / BaseLib.h
index 7edf0051a0a0c2360964bcf7f5e7216c75656772..04fb329eaabb58906074d73a64b862c576aec0f8 100644 (file)
@@ -7848,6 +7848,20 @@ AsmXGetBv (
   );\r
 \r
 \r
+/**\r
+  Executes a VMGEXIT instruction (VMMCALL with a REP prefix)\r
+\r
+  Executes a VMGEXIT instruction. This function is only available on IA-32 and\r
+  x64.\r
+\r
+**/\r
+VOID\r
+EFIAPI\r
+AsmVmgExit (\r
+  VOID\r
+  );\r
+\r
+\r
 /**\r
   Patch the immediate operand of an IA32 or X64 instruction such that the byte,\r
   word, dword or qword operand is encoded at the end of the instruction's\r