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