1 | /** @file
|
---|
2 | XenInfo HOB passed by PEI into DXE.
|
---|
3 |
|
---|
4 | Copyright (c) 2011, Andrei Warkentin <[email protected]>
|
---|
5 | This program and the accompanying materials are licensed and made available under
|
---|
6 | the terms and conditions of the BSD License that accompanies this distribution.
|
---|
7 | The full text of the license may be found at
|
---|
8 | http://opensource.org/licenses/bsd-license.php.
|
---|
9 |
|
---|
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
11 | WITHOUT 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 |
|
---|
21 | typedef 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 |
|
---|
40 | extern EFI_GUID gEfiXenInfoGuid;
|
---|
41 |
|
---|
42 | #endif
|
---|