]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c
The PCI HotPlug Init Protocol returns a list of Root HPC, but it is possible that...
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 22 Nov 2010 07:16:02 +0000 (07:16 +0000)
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 22 Nov 2010 07:16:02 +0000 (07:16 +0000)
commit55565b0859bca5a0cb7a0d71e95a246715a86aae
treee5dd61db8f0a60bd07d6698ca53a780cf8957302
parent7caf72a907ef9b71e7c8f1c27c5b4eda98225689
The PCI HotPlug Init Protocol returns a list of Root HPC, but it is possible that some HPCs in the list are not found during PCI enumeration. In this case, the PCI HotPlug Init Protocol.InitializeRootHpc() will not be called for the un-found HPCs. However, in AllRootHPCInitialized(), all reported HPCs are checked to see if it has been initialized, so TIME_OUT happens.

This check-in fix the issue by adding a flag to indicate if a HPC is found during PCI enumeration or not. This check-in also adds a debug message if any found HPC failed with initialization.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11081 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.c
MdeModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.h
MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c