]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/Library/XenHypercallLib.h
OvmfPkg/XenHypercallLib: Enable it in PEIM
[mirror_edk2.git] / OvmfPkg / Include / Library / XenHypercallLib.h
index c43822782b9176a097e1ce39383224bcf6792abe..c1491dd652b3ef14a614714246594b8c966e027d 100644 (file)
 #ifndef __XEN_HYPERCALL_LIB_H__\r
 #define __XEN_HYPERCALL_LIB_H__\r
 \r
+/**\r
+  To call when the gEfiXenInfoGuid HOB became available after the library init\r
+  function has already been executed.\r
+\r
+  This allow to make hypercall in the PEIM stage.\r
+**/\r
+RETURN_STATUS\r
+EFIAPI\r
+XenHypercallLibInit (\r
+  VOID\r
+  );\r
+\r
 /**\r
   Check if the Xen Hypercall library is able to make calls to the Xen\r
   hypervisor.\r