VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/PlatformPei/Xen.h@ 85716

Last change on this file since 85716 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 930 bytes
Line 
1/** @file
2 Ovmf info structure passed by Xen
3
4Copyright (c) 2013, Citrix Systems UK Ltd.<BR>
5
6SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef __XEN_H__
11#define __XEN_H__
12
13#include <PiPei.h>
14
15// Physical address of OVMF info
16#define OVMF_INFO_PHYSICAL_ADDRESS 0x00001000
17
18// This structure must match the definition on Xen side
19#pragma pack(1)
20typedef struct {
21 CHAR8 Signature[14]; // XenHVMOVMF\0
22 UINT8 Length; // Length of this structure
23 UINT8 Checksum; // Set such that the sum over bytes 0..length == 0
24 //
25 // Physical address of an array of TablesCount elements.
26 //
27 // Each element contains the physical address of a BIOS table.
28 //
29 EFI_PHYSICAL_ADDRESS Tables;
30 UINT32 TablesCount;
31 //
32 // Physical address of the E820 table, contains E820EntriesCount entries.
33 //
34 EFI_PHYSICAL_ADDRESS E820;
35 UINT32 E820EntriesCount;
36} EFI_XEN_OVMF_INFO;
37#pragma pack()
38
39#endif /* __XEN_H__ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette