summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-15 05:06:24 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-15 05:06:24 +0000
commitd1d249a7b68c774709c284267b5a498be07b851d (patch)
tree148a6d8c22e1c8d375134a29688de184f75cdbea /MdeModulePkg
parentdca8c6d8d28652ae24b4f4a42fb677b17b59006e (diff)
downloadedk2-d1d249a7b68c774709c284267b5a498be07b851d.zip
edk2-d1d249a7b68c774709c284267b5a498be07b851d.tar.gz
edk2-d1d249a7b68c774709c284267b5a498be07b851d.tar.bz2
[Description]:
1) Remove EFI_SPECIFICATION_VERSION as modules and libraries in MdeModule complies to UEFI 2.0 and later. [Impaction]: No [Reference Info]: No. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4857 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Include/Library/GenericBdsLib.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/MdeModulePkg/Include/Library/GenericBdsLib.h b/MdeModulePkg/Include/Library/GenericBdsLib.h
index 9c5d967..9e358dd 100644
--- a/MdeModulePkg/Include/Library/GenericBdsLib.h
+++ b/MdeModulePkg/Include/Library/GenericBdsLib.h
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2004 - 2007, Intel Corporation
+Copyright (c) 2004 - 2008, Intel Corporation
All rights reserved. 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
@@ -22,12 +22,6 @@ Abstract:
#ifndef _GENERIC_BDS_LIB_H_
#define _GENERIC_BDS_LIB_H_
-//
-// WQBugBug: These Macro will be handled properly later.
-//
-//#undef EFI_SPECIFICATION_VERSION
-//#define EFI_SPECIFICATION_VERSION 0x0002000A
-
#define PI_SPECIFICATION_VERSION 0x00010000
#include <PiDxe.h>
@@ -62,7 +56,6 @@ extern EFI_HANDLE mBdsImageHandle;
#define LOAD_OPTION_ACTIVE 0x00000001
#define LOAD_OPTION_FORCE_RECONNECT 0x00000002
-#if (EFI_SPECIFICATION_VERSION >= 0x0002000A)
#define LOAD_OPTION_HIDDEN 0x00000008
#define LOAD_OPTION_CATEGORY 0x00001F00
@@ -71,7 +64,6 @@ extern EFI_HANDLE mBdsImageHandle;
#define EFI_BOOT_OPTION_SUPPORT_KEY 0x00000001
#define EFI_BOOT_OPTION_SUPPORT_APP 0x00000002
-#endif
#define IS_LOAD_OPTION_TYPE(_c, _Mask) (BOOLEAN) (((_c) & (_Mask)) != 0)
@@ -319,7 +311,6 @@ typedef struct {
UINT8 VendorDefinedData[1];
} VENDOR_DEVICE_PATH_WITH_DATA;
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
extern EFI_GUID mEfiDevicePathMessagingSASGuid;
@@ -332,7 +323,6 @@ typedef struct {
CHAR16 iSCSITargetName[1];
} ISCSI_DEVICE_PATH_WITH_NAME;
-#endif
//
// Internal functions
@@ -447,11 +437,7 @@ BdsLibGetImageHeader (
EFI_STATUS
BdsLibGetHiiHandles (
-#if (EFI_SPECIFICATION_VERSION >= 0x0002000A)
IN EFI_HII_DATABASE_PROTOCOL *HiiDatabase,
-#else
- IN EFI_HII_PROTOCOL *Hii,
-#endif
IN OUT UINT16 *HandleBufferLength,
OUT EFI_HII_HANDLE **HiiHandleBuffer
);
@@ -562,4 +548,5 @@ CatPrint (
...
)
;
-#endif // _BDS_LIB_H_
+#endif
+