Hi all
Manage to pull together another prototype without any hack in it.
The first patch adds PcdPciAllowFullEnumeration in MdeModulePkg, which
short-cuts full enumeration if set to false. This one should be helpful to QEMU
as well.
This patch set should work with QEMU / KVM as well (read: doesn''t
break). The
code path is the same as before if Xen is not detected.
Comments are welcomed.
The tree can be found at:
http://xenbits.xen.org/git-http/people/liuw/ovmf.git rfc-v2
starting from 4ba5c67e.
Wei.
Wei Liu (7):
MdeModulePkg: introduce PcdPciAllowFullEnumeration
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
MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c | 5 +-
MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf | 1 +
MdeModulePkg/MdeModulePkg.dec | 3 +
OvmfPkg/Include/Guid/XenInfo.h | 27 ++++++++
OvmfPkg/Include/IndustryStandard/E820.h | 46 +++++++++++++
OvmfPkg/OvmfPkgIa32.dsc | 5 +-
OvmfPkg/OvmfPkgIa32X64.dsc | 5 +-
OvmfPkg/OvmfPkgX64.dsc | 5 +-
OvmfPkg/PlatformPei/MemDetect.c | 36 ++++++++++-
OvmfPkg/PlatformPei/Platform.c | 89 +++++++++++++++++++++++++-
OvmfPkg/PlatformPei/Platform.h | 10 +++
OvmfPkg/PlatformPei/PlatformPei.inf | 1 +
OvmfPkg/PlatformPei/Xen.c | 43 +++++++++----
13 files changed, 254 insertions(+), 22 deletions(-)
create mode 100644 OvmfPkg/Include/IndustryStandard/E820.h
--
1.7.10.4