Produce all the PciIo & Dpath protocol for all the pci devices under the current host bridge.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4703 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2008-02-19 04:17:05 +00:00
parent 23f642e80a
commit eb9a9a5e23
5 changed files with 122 additions and 182 deletions

View File

@ -1000,6 +1000,12 @@ Returns:
}
PciRomGetImageMapping (Temp);
//
// The OpRom has already been processed in the first round
//
Temp->AllOpRomProcessed = TRUE;
CurrentLink = CurrentLink->ForwardLink;
}
@ -1856,6 +1862,7 @@ Routine Description:
This routine is used to enumerate entire pci bus system
in a given platform
It is only called on the second start on the same Root Bridge.
Arguments:
@ -1881,9 +1888,9 @@ Returns:
Descriptors = NULL;
//
// If this host bridge has been already enumerated, then return successfully
// If this root bridge has been already enumerated, then return successfully
//
if (RootBridgeExisted (Controller)) {
if (GetRootBridgeByHandle (Controller) != NULL) {
return EFI_SUCCESS;
}