diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-29 23:59:12 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-29 23:59:12 +0000 |
commit | 84c1b22e843a3af1994e2a938a3685f4874462f9 (patch) | |
tree | 909048009d244d6fb701b106dd458c834ab151c3 /OvmfPkg | |
parent | b1874d3749ae7e29e34c8a9ba70c7c6a8cb22ec9 (diff) | |
download | edk2-platforms-84c1b22e843a3af1994e2a938a3685f4874462f9.tar.xz |
OvmfPkg/Include/Guid: Add XenInfo GUID
XenInfo HOB is used to pass XenInfo from PEI to DXE.
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Reviewed-by: gavinguan
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12059 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg')
-rw-r--r-- | OvmfPkg/Include/Guid/XenInfo.h | 42 | ||||
-rw-r--r-- | OvmfPkg/OvmfPkg.dec | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/OvmfPkg/Include/Guid/XenInfo.h b/OvmfPkg/Include/Guid/XenInfo.h new file mode 100644 index 0000000000..d512b0b63f --- /dev/null +++ b/OvmfPkg/Include/Guid/XenInfo.h @@ -0,0 +1,42 @@ +/** @file
+ XenInfo HOB passed by PEI into DXE.
+
+Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>
+This program and the accompanying materials are licensed and made available under
+the terms and conditions of the BSD License that accompanies this distribution.
+The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php.
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#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;
+ ///
+ /// Location of the hvm_info page.
+ ///
+ VOID *HvmInfo;
+ ///
+ /// Hypervisor major version.
+ ///
+ UINT16 VersionMajor;
+ ///
+ /// Hypervisor minor version.
+ ///
+ UINT16 VersionMinor;
+} EFI_XEN_INFO;
+
+extern EFI_GUID gEfiXenInfoGuid;
+
+#endif
diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec index 17220f285d..c300f2b8f3 100644 --- a/OvmfPkg/OvmfPkg.dec +++ b/OvmfPkg/OvmfPkg.dec @@ -33,6 +33,7 @@ [Guids]
gUefiOvmfPkgTokenSpaceGuid = {0x93bb96af, 0xb9f2, 0x4eb8, {0x94, 0x62, 0xe0, 0xba, 0x74, 0x56, 0x42, 0x36}}
+ gEfiXenInfoGuid = {0xd3b46f3b, 0xd441, 0x1244, {0x9a, 0x12, 0x0, 0x12, 0x27, 0x3f, 0xc1, 0x4d}}
[Protocols]
gBlockMmioProtocolGuid = {0x6b558ce3, 0x69e5, 0x4c67, {0xa6, 0x34, 0xf7, 0xfe, 0x72, 0xad, 0xbe, 0x84}}
|