summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Bus/Pci
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-29 03:21:03 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-29 03:21:03 +0000
commit9c10bff352e0310c98841cbc7f93bb20c2eebbf2 (patch)
tree0c35c0555da2332769728bc707cf3ab3b30f3d61 /IntelFrameworkModulePkg/Bus/Pci
parent5ba364466dabf4e4d8809218197b5bd0761db881 (diff)
downloadedk2-platforms-9c10bff352e0310c98841cbc7f93bb20c2eebbf2.tar.xz
fixed ecc and k8 issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8674 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Pci')
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c
index a27f5606b6..615bbaa4dc 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c
@@ -379,8 +379,9 @@ PciHostBridgeResourceAllocator (
}
}
//
- // End while
+ // End while, at least one Root Bridge should be found.
//
+ ASSERT (RootBridgeDev != NULL);
//
// Notify platform to start to program the resource