From d838c7449faa02cc3a205b0efdcf40d6d4817dee Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Fri, 16 Aug 2013 09:20:58 +0000 Subject: [PATCH] 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 --- MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.39.2