/*++\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
#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
#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
\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
UINT8 VendorDefinedData[1];\r
} VENDOR_DEVICE_PATH_WITH_DATA;\r
\r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
\r
extern EFI_GUID mEfiDevicePathMessagingSASGuid;\r
\r
CHAR16 iSCSITargetName[1];\r
} ISCSI_DEVICE_PATH_WITH_NAME;\r
\r
-#endif\r
\r
//\r
// Internal functions\r
\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
...\r
)\r
;\r
-#endif // _BDS_LIB_H_\r
+#endif\r
+\r