summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-04 06:13:53 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-04 06:13:53 +0000
commit2b534a7c0904b8fbc2d2b0b46d4879ec1002e10c (patch)
tree083313e487772a60bc3dc6f823f5a9774422751b
parent4ebb0d9eb125fe6ba7d58fc547a32f514d8b9546 (diff)
downloadedk2-platforms-2b534a7c0904b8fbc2d2b0b46d4879ec1002e10c.tar.xz
Fix a bug of not initialize Private->PciRootBridgeIo correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6832 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkCompatibilityPkg/Compatibility/DeviceIoToPciRootBridgeIoThunk/DeviceIoToPciRootBridgeIoThunk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/DeviceIoToPciRootBridgeIoThunk/DeviceIoToPciRootBridgeIoThunk.c b/EdkCompatibilityPkg/Compatibility/DeviceIoToPciRootBridgeIoThunk/DeviceIoToPciRootBridgeIoThunk.c
index db8b72ed44..b60893f04b 100644
--- a/EdkCompatibilityPkg/Compatibility/DeviceIoToPciRootBridgeIoThunk/DeviceIoToPciRootBridgeIoThunk.c
+++ b/EdkCompatibilityPkg/Compatibility/DeviceIoToPciRootBridgeIoThunk/DeviceIoToPciRootBridgeIoThunk.c
@@ -457,6 +457,8 @@ PciRootBridgeIoNotificationEvent (
continue;
}
+ Private->PciRootBridgeIo = PciRootBridgeIo;
+
Status = gBS->HandleProtocol (
Handle,
&gEfiDevicePathProtocolGuid,