summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2010-11-08 06:56:57 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2010-11-08 06:56:57 +0000
commitfefefa4cb15eed75dbe3d4867768893bf6d96a30 (patch)
tree5093068d04183e22eba8c9c7f1540c6191a4fb15 /IntelFrameworkModulePkg/Library
parent9dd7461870e0239ce5b1d6573a3ca0bcd86b7a03 (diff)
downloadedk2-platforms-fefefa4cb15eed75dbe3d4867768893bf6d96a30.tar.xz
Remove unnecessary mBdsImageHandle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11012 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Library')
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c6
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
index 2d98d73eea..a6a91186f1 100644
--- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
+++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
@@ -292,7 +292,7 @@ BdsLibBootViaBootOption (
Status = gBS->LoadImage (
TRUE,
- mBdsImageHandle,
+ gImageHandle,
DevicePath,
NULL,
0,
@@ -320,7 +320,7 @@ BdsLibBootViaBootOption (
if (FilePath != NULL) {
Status = gBS->LoadImage (
TRUE,
- mBdsImageHandle,
+ gImageHandle,
FilePath,
NULL,
0,
@@ -2072,7 +2072,7 @@ BdsLibUpdateFvFileDevicePath (
FindFvFile = FALSE;
FoundFvHandle = NULL;
Status = gBS->HandleProtocol (
- mBdsImageHandle,
+ gImageHandle,
&gEfiLoadedImageProtocolGuid,
(VOID **) &LoadedImage
);
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c
index 2a12f16879..3d2e199e52 100644
--- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c
+++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c
@@ -79,7 +79,7 @@ BdsLibLoadDrivers (
//
Status = gBS->LoadImage (
FALSE,
- mBdsImageHandle,
+ gImageHandle,
Option->DevicePath,
NULL,
0,