TianoCore EDK2 master
Loading...
Searching...
No Matches
Xen.h
Go to the documentation of this file.
1
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 //
30 UINT32 TablesCount;
31 //
32 // Physical address of the E820 table, contains E820EntriesCount entries.
33 //
35 UINT32 E820EntriesCount;
37#pragma pack()
38
39#endif /* __XEN_H__ */
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50