diff options
author | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/edk2/OvmfPkg/Include/Guid/XenInfo.h | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/edk2/OvmfPkg/Include/Guid/XenInfo.h')
-rw-r--r-- | roms/edk2/OvmfPkg/Include/Guid/XenInfo.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/roms/edk2/OvmfPkg/Include/Guid/XenInfo.h b/roms/edk2/OvmfPkg/Include/Guid/XenInfo.h new file mode 100644 index 000000000..25743b388 --- /dev/null +++ b/roms/edk2/OvmfPkg/Include/Guid/XenInfo.h @@ -0,0 +1,36 @@ +/** @file
+ XenInfo HOB passed by PEI into DXE.
+
+Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef __XEN_INFO_H__
+#define __XEN_INFO_H__
+
+#define EFI_XEN_INFO_GUID \
+ { 0xd3b46f3b, 0xd441, 0x1244, {0x9a, 0x12, 0x0, 0x12, 0x27, 0x3f, 0xc1, 0x4d } }
+
+typedef struct {
+ ///
+ /// Beginning of the hypercall page.
+ ///
+ VOID *HyperPages;
+ ///
+ /// Hypervisor major version.
+ ///
+ UINT16 VersionMajor;
+ ///
+ /// Hypervisor minor version.
+ ///
+ UINT16 VersionMinor;
+ ///
+ /// Pointer to the RSDP found in the hvm_start_info provided to a PVH guest
+ ///
+ VOID *RsdpPvh;
+} EFI_XEN_INFO;
+
+extern EFI_GUID gEfiXenInfoGuid;
+
+#endif
|