Hi all
This is a quick hack I pulled together last night to make OVMF work with Xen.
I''m pretty sure there''s many things that can be improved. ;-)
Any advice is welcomed. I''m particular interested in comments such as
how to
organize code, what to refactor, how to achieve wider benifit for other use
cases.
Wei.
Wei Liu (7):
HACK: Use DeutPkg/PciRootBridgeNoEnumeration and
PciBusNoEnumerationDxe
OvmfPkg: introduce E820.h
OvmfPkg: define EFI_XEN_OVMF_INFO and extend XenInfo
OvmfPkg: extract OVMF info passed by Xen hvmloader
OvmfPkg: detect Xen earlier
OvmfPkg: introduce PublishPeiMemory
OvmfPkg: introduce XenMemMapInitialization
OvmfPkg/Include/Guid/XenInfo.h | 18 +++++
OvmfPkg/Include/IndustryStandard/E820.h | 34 +++++++++
OvmfPkg/Include/IndustryStandard/LinuxBzimage.h | 14 +---
OvmfPkg/OvmfPkgX64.dsc | 8 +-
OvmfPkg/OvmfPkgX64.fdf | 8 +-
OvmfPkg/PlatformPei/MemDetect.c | 36 ++++++++-
OvmfPkg/PlatformPei/Platform.c | 91 ++++++++++++++++++++++-
OvmfPkg/PlatformPei/Platform.h | 10 +++
OvmfPkg/PlatformPei/Xen.c | 43 ++++++++---
9 files changed, 231 insertions(+), 31 deletions(-)
create mode 100644 OvmfPkg/Include/IndustryStandard/E820.h
--
1.7.10.4