Version 2 of <http://thread.gmane.org/gmane.comp.bios.edk2.devel/9150/focus=9153>.
In this version, BDS notifies AcpiPlatformDxe by signaling an event group, rather than by installing a non-standard protocol interface. This was suggested by Jordan <http://thread.gmane.org/gmane.comp.bios.edk2.devel/9150/focus=9539>. All patches except the last one had to be modified for this. The question (raised by Ard) of what exactly edk2 developers should put into GUID and protocol headers should be discussed separately <http://thread.gmane.org/gmane.comp.bios.edk2.devel/9150/focus=9497>; in this series I'm sticking with the current practice (both initializer for static storage duration objects and the declaration with external linkage). Public branch: <https://github.com/lersek/edk2/commits/pci_decode_for_acpi_v2>. Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Jordan Justen <jordan.l.jus...@intel.com> Thanks Laszlo Laszlo Ersek (6): OvmfPkg: OvmfPkg.dec: add horizontal whitespace under Guids and Protocols OvmfPkg: introduce gRootBridgesConnectedEventGroupGuid OvmfPkg: PlatformBdsLib: signal gRootBridgesConnectedEventGroupGuid ArmVirtPkg: PlatformIntelBdsLib: signal gRootBridgesConnectedEventGroupGuid OvmfPkg: AcpiPlatformDxe: when PCI is enabled, wait for Platform BDS's cue OvmfPkg: AcpiPlatformDxe: enable PCI IO and MMIO while fetching QEMU tables OvmfPkg/OvmfPkg.dec | 19 +- ArmVirtPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf | 1 + OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 4 +- OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf | 6 +- OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf | 1 + OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 18 ++ OvmfPkg/Include/Guid/RootBridgesConnectedEventGroup.h | 33 ++++ ArmVirtPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c | 6 + OvmfPkg/AcpiPlatformDxe/EntryPoint.c | 48 ++--- OvmfPkg/AcpiPlatformDxe/PciDecoding.c | 186 ++++++++++++++++++++ OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c | 4 + OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 6 + 12 files changed, 287 insertions(+), 45 deletions(-) create mode 100644 OvmfPkg/Include/Guid/RootBridgesConnectedEventGroup.h create mode 100644 OvmfPkg/AcpiPlatformDxe/PciDecoding.c -- 1.8.3.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel