]> git.proxmox.com Git - mirror_edk2.git/commitdiff
[Description]:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 15 Mar 2008 05:06:24 +0000 (05:06 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 15 Mar 2008 05:06:24 +0000 (05:06 +0000)
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

MdeModulePkg/Include/Library/GenericBdsLib.h

index 9c5d967c7aa24d277801ce3d4bce99301d57ab32..9e358ddf6574763aca248be6640b60e6b975caa2 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2004 - 2007, Intel Corporation                                                         \r
+Copyright (c) 2004 - 2008, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -22,12 +22,6 @@ Abstract:
 #ifndef _GENERIC_BDS_LIB_H_\r
 #define _GENERIC_BDS_LIB_H_\r
 \r
-//\r
-// WQBugBug: These Macro will be handled properly later.\r
-//\r
-//#undef EFI_SPECIFICATION_VERSION\r
-//#define EFI_SPECIFICATION_VERSION 0x0002000A\r
-\r
 #define PI_SPECIFICATION_VERSION 0x00010000\r
 \r
 #include <PiDxe.h>\r
@@ -62,7 +56,6 @@ extern EFI_HANDLE mBdsImageHandle;
 #define LOAD_OPTION_ACTIVE              0x00000001\r
 #define LOAD_OPTION_FORCE_RECONNECT     0x00000002\r
 \r
-#if (EFI_SPECIFICATION_VERSION >= 0x0002000A)\r
 #define LOAD_OPTION_HIDDEN              0x00000008\r
 #define LOAD_OPTION_CATEGORY            0x00001F00\r
 \r
@@ -71,7 +64,6 @@ extern EFI_HANDLE mBdsImageHandle;
 \r
 #define EFI_BOOT_OPTION_SUPPORT_KEY     0x00000001\r
 #define EFI_BOOT_OPTION_SUPPORT_APP     0x00000002\r
-#endif\r
 \r
 #define IS_LOAD_OPTION_TYPE(_c, _Mask)  (BOOLEAN) (((_c) & (_Mask)) != 0)\r
 \r
@@ -319,7 +311,6 @@ typedef struct {
   UINT8                     VendorDefinedData[1];\r
 } VENDOR_DEVICE_PATH_WITH_DATA;\r
 \r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
 \r
 extern EFI_GUID mEfiDevicePathMessagingSASGuid;\r
 \r
@@ -332,7 +323,6 @@ typedef struct {
   CHAR16                    iSCSITargetName[1];\r
 } ISCSI_DEVICE_PATH_WITH_NAME;\r
 \r
-#endif\r
 \r
 //\r
 // Internal functions\r
@@ -447,11 +437,7 @@ BdsLibGetImageHeader (
 \r
 EFI_STATUS\r
 BdsLibGetHiiHandles (\r
-#if (EFI_SPECIFICATION_VERSION >= 0x0002000A)\r
   IN     EFI_HII_DATABASE_PROTOCOL *HiiDatabase,\r
-#else\r
-  IN     EFI_HII_PROTOCOL          *Hii,\r
-#endif\r
   IN OUT UINT16                    *HandleBufferLength,\r
   OUT    EFI_HII_HANDLE            **HiiHandleBuffer\r
   );\r
@@ -562,4 +548,5 @@ CatPrint (
   ...\r
   )\r
 ;\r
-#endif // _BDS_LIB_H_\r
+#endif\r
+\r