summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkModulePkg/Universal/BdsDxe
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/Universal/BdsDxe
parent9dd7461870e0239ce5b1d6573a3ca0bcd86b7a03 (diff)
downloadedk2-fefefa4cb15eed75dbe3d4867768893bf6d96a30.tar.gz
edk2-fefefa4cb15eed75dbe3d4867768893bf6d96a30.tar.bz2
edk2-fefefa4cb15eed75dbe3d4867768893bf6d96a30.zip
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/Universal/BdsDxe')
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c6
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/Language.c4
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/String.c4
3 files changed, 5 insertions, 9 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c
index f89d8b8ebe..f5431551f5 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c
@@ -5,7 +5,7 @@
After DxeCore finish DXE phase, gEfiBdsArchProtocolGuid->BdsEntry will be invoked
to enter BDS phase.
-Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -38,8 +38,6 @@ EFI_BDS_ARCH_PROTOCOL gBds = {
UINT16 *mBootNext = NULL;
-EFI_HANDLE mBdsImageHandle;
-
/**
Install Boot Device Selection Protocol
@@ -61,8 +59,6 @@ BdsInitialize (
{
EFI_STATUS Status;
- mBdsImageHandle = ImageHandle;
-
//
// Install protocol interface
//
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/Language.c b/IntelFrameworkModulePkg/Universal/BdsDxe/Language.c
index 09f48b874b..ef2e2d860e 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/Language.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/Language.c
@@ -1,7 +1,7 @@
/** @file
Language settings
-Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -263,7 +263,7 @@ ExportFonts (
HiiHandle = HiiAddPackages (
&mFontPackageGuid,
- mBdsImageHandle,
+ gImageHandle,
&mFontBin,
NULL
);
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/String.c b/IntelFrameworkModulePkg/Universal/BdsDxe/String.c
index 9924352234..d02001b4d1 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/String.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/String.c
@@ -1,7 +1,7 @@
/** @file
String support
-Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -33,7 +33,7 @@ InitializeStringSupport (
{
gStringPackHandle = HiiAddPackages (
&mBdsStringPackGuid,
- mBdsImageHandle,
+ gImageHandle,
BdsDxeStrings,
NULL
);