From fefefa4cb15eed75dbe3d4867768893bf6d96a30 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Mon, 8 Nov 2010 06:56:57 +0000 Subject: Remove unnecessary mBdsImageHandle. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11012 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c | 6 +++--- IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'IntelFrameworkModulePkg/Library') 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, -- cgit v1.2.3