diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-11 06:02:04 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-07-11 06:02:04 +0000 |
commit | 11ef23f9d1633c236c7593d01f0d529fde4a10c9 (patch) | |
tree | 65b47e5a2cfcd2770cc79d0c158a73bb3b2cfe39 /MdeModulePkg/Library/GenericBdsLib/Ipf | |
parent | 7b3e2a1b9a538ea4ec60a34337085b2b4686f6b5 (diff) | |
download | edk2-platforms-11ef23f9d1633c236c7593d01f0d529fde4a10c9.tar.xz |
Clean up GenericBdsLib library Instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5449 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/GenericBdsLib/Ipf')
-rw-r--r-- | MdeModulePkg/Library/GenericBdsLib/Ipf/BmMachine.h | 4 | ||||
-rw-r--r-- | MdeModulePkg/Library/GenericBdsLib/Ipf/ShadowRom.c | 13 |
2 files changed, 8 insertions, 9 deletions
diff --git a/MdeModulePkg/Library/GenericBdsLib/Ipf/BmMachine.h b/MdeModulePkg/Library/GenericBdsLib/Ipf/BmMachine.h index e9e99ad4c5..06ae3dc5c0 100644 --- a/MdeModulePkg/Library/GenericBdsLib/Ipf/BmMachine.h +++ b/MdeModulePkg/Library/GenericBdsLib/Ipf/BmMachine.h @@ -12,8 +12,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/
-#ifndef _BM_MACHINE_H
-#define _BM_MACHINE_H
+#ifndef _BM_MACHINE_H_
+#define _BM_MACHINE_H_
#define DEFAULT_REMOVABLE_FILE_NAME L"\\EFI\\BOOT\\BOOTIA64.EFI"
diff --git a/MdeModulePkg/Library/GenericBdsLib/Ipf/ShadowRom.c b/MdeModulePkg/Library/GenericBdsLib/Ipf/ShadowRom.c index e6f46ee667..10e8f55c55 100644 --- a/MdeModulePkg/Library/GenericBdsLib/Ipf/ShadowRom.c +++ b/MdeModulePkg/Library/GenericBdsLib/Ipf/ShadowRom.c @@ -12,18 +12,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/
-//@MT:#include "Tiano.h"
-//@MT:#include "EfiDriverLib.h"
-
-//@MT:#include EFI_PROTOCOL_DEFINITION (LegacyBios)
-
#include "InternalBdsLib.h"
UINT8 mShadowRomFlag = 0;
+/**
+ Shadow all opton ROM if the it is not done.
+**/
VOID
-EFIAPI
-ShadowAllOptionRom()
+ShadowAllOptionRom(
+ VOID
+ )
{
EFI_STATUS Status;
EFI_LEGACY_BIOS_PROTOCOL *LegacyBios;
|