OvmfPkg/MemEncryptSevLib: find pages of initial SMRAM save state map
[mirror_edk2.git] / OvmfPkg / Include / Guid / XenInfo.h
CommitLineData
84c1b22e 1/** @file\r
2 XenInfo HOB passed by PEI into DXE.\r
3\r
4Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>\r
5This program and the accompanying materials are licensed and made available under\r
6the terms and conditions of the BSD License that accompanies this distribution.\r
7The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php.\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef __XEN_INFO_H__\r
16#define __XEN_INFO_H__\r
17\r
18#define EFI_XEN_INFO_GUID \\r
19 { 0xd3b46f3b, 0xd441, 0x1244, {0x9a, 0x12, 0x0, 0x12, 0x27, 0x3f, 0xc1, 0x4d } }\r
20\r
21typedef struct {\r
22 ///\r
23 /// Beginning of the hypercall page.\r
24 ///\r
25 VOID *HyperPages;\r
26 ///\r
27 /// Location of the hvm_info page.\r
28 ///\r
29 VOID *HvmInfo;\r
30 ///\r
31 /// Hypervisor major version.\r
32 ///\r
33 UINT16 VersionMajor;\r
34 ///\r
35 /// Hypervisor minor version.\r
36 ///\r
37 UINT16 VersionMinor;\r
38} EFI_XEN_INFO;\r
39\r
40extern EFI_GUID gEfiXenInfoGuid;\r
41\r
42#endif\r