diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2013-08-16 09:20:58 +0000 |
---|---|---|
committer | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-08-16 09:20:58 +0000 |
commit | d838c7449faa02cc3a205b0efdcf40d6d4817dee (patch) | |
tree | 4244e393fb898fe81d38047438ad75f10ac825b6 /MdeModulePkg | |
parent | 6e67fec07f7fe4033da696eb2d08c5617edaa590 (diff) | |
download | edk2-d838c7449faa02cc3a205b0efdcf40d6d4817dee.zip edk2-d838c7449faa02cc3a205b0efdcf40d6d4817dee.tar.gz edk2-d838c7449faa02cc3a205b0efdcf40d6d4817dee.tar.bz2 |
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 <ruiyu.ni@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14553 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c index ee6656d..7329143 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
|