v1->v2: - addressed Jordan's comments in v2 4/4 (patch #1 in v1) - fixed the 32-bit PCI hole discrepancy in PEI after realizing that qemu does export the window for us in easily consumable form
Retested with Fedora and Windows 2012 R2 guests, RAM sizes 1G/2.5G/4G. Laszlo Ersek (4): OvmfPkg/QemuFwCfgLib: remove useless UefiBootServicesTableLib dependency OvmfPkg/PlatformPei: take 32-bit PCI window from QEMU when available OvmfPkg: introduce PcdQemuPci32InfoPresent OvmfPkg/AcpiPlatformDxe: download ACPI tables from QEMU OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 7 +- OvmfPkg/PlatformPei/Platform.h | 17 +++ OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c | 12 +-- OvmfPkg/AcpiPlatformDxe/Qemu.c | 144 ++++++++++++++++++++++++++ OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c | 1 - OvmfPkg/PlatformPei/Platform.c | 24 ++++- OvmfPkg/PlatformPei/Qemu.c | 66 ++++++++++++ OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 1 + OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf | 1 - OvmfPkg/OvmfPkg.dec | 1 + OvmfPkg/PlatformPei/PlatformPei.inf | 3 + 11 files changed, 264 insertions(+), 13 deletions(-) create mode 100644 OvmfPkg/PlatformPei/Qemu.c -- 1.8.3.1 ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel