From: Ruiyu Ni Date: Fri, 16 Aug 2013 09:20:58 +0000 (+0000) Subject: Change the PciBusDxe driver to install the PCI enumeration complete GUID in the PCI... X-Git-Tag: edk2-stable201903~12353 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d838c7449faa02cc3a205b0efdcf40d6d4817dee;ds=sidebyside Change the PciBusDxe driver to install the PCI enumeration complete GUID in the PCI host bridge handle to follow PI Spec 1.3. Signed-off-by: Ruiyu Ni Reviewed-by: Elvin Li git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14553 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c index ee6656de70..7329143136 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c @@ -29,7 +29,6 @@ PciEnumerator ( IN EFI_HANDLE Controller ) { - EFI_HANDLE Handle; EFI_HANDLE HostBridgeHandle; EFI_STATUS Status; EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *PciResAlloc; @@ -134,9 +133,8 @@ PciEnumerator ( gFullEnumeration = FALSE; - Handle = NULL; Status = gBS->InstallProtocolInterface ( - &Handle, + &HostBridgeHandle, &gEfiPciEnumerationCompleteProtocolGuid, EFI_NATIVE_INTERFACE, NULL