Remove EFI_SPECIFICATION_VERSION macro reference in code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10157 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
niruiyu 2010-03-03 00:57:21 +00:00
parent a1749b8045
commit a17b7e9f33
3 changed files with 3 additions and 21 deletions

View File

@ -1,6 +1,6 @@
/** @file /** @file
Copyright (c) 2006 - 2007, Intel Corporation Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -45,17 +45,9 @@ Abstract:
#define FIRMWARE_PRODUCT_NAME (PRODUCT_NAME L": ") #define FIRMWARE_PRODUCT_NAME (PRODUCT_NAME L": ")
#ifdef EFI32 #ifdef EFI32
#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
#define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(IA32.UEFI)" PRODUCT_VERSION L": ") #define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(IA32.UEFI)" PRODUCT_VERSION L": ")
#else
#define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(IA32.EFI)" PRODUCT_VERSION L": ")
#endif
#else // EFIX64 #else // EFIX64
#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
#define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(X64.UEFI)" PRODUCT_VERSION L": ") #define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(X64.UEFI)" PRODUCT_VERSION L": ")
#else
#define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(X64.EFI)" PRODUCT_VERSION L": ")
#endif
#endif #endif
SMBIOS_STRUCTURE_POINTER SMBIOS_STRUCTURE_POINTER

View File

@ -1,6 +1,6 @@
/*++ /*++
Copyright (c) 2006 - 2007, Intel Corporation Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -143,7 +143,6 @@ SetVariable (
IN VOID *Data IN VOID *Data
); );
#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
QueryVariableInfo ( QueryVariableInfo (
@ -152,6 +151,5 @@ QueryVariableInfo (
OUT UINT64 *RemainingVariableStorageSize, OUT UINT64 *RemainingVariableStorageSize,
OUT UINT64 *MaximumVariableSize OUT UINT64 *MaximumVariableSize
); );
#endif // EFI_SPECIFICATION_VERSION >= 0x00020000
#endif #endif

View File

@ -1,6 +1,6 @@
/** @file /** @file
Copyright (c) 2009, Intel Corporation Copyright (c) 2009 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -45,17 +45,9 @@ Abstract:
#define FIRMWARE_PRODUCT_NAME (PRODUCT_NAME L": ") #define FIRMWARE_PRODUCT_NAME (PRODUCT_NAME L": ")
#ifdef EFI32 #ifdef EFI32
#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
#define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(IA32.UEFI)" PRODUCT_VERSION L": ") #define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(IA32.UEFI)" PRODUCT_VERSION L": ")
#else
#define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(IA32.EFI)" PRODUCT_VERSION L": ")
#endif
#else // EFIX64 #else // EFIX64
#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
#define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(X64.UEFI)" PRODUCT_VERSION L": ") #define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(X64.UEFI)" PRODUCT_VERSION L": ")
#else
#define FIRMWARE_BIOS_VERSIONE (PRODUCT_NAME L"(X64.EFI)" PRODUCT_VERSION L": ")
#endif
#endif #endif
SMBIOS_STRUCTURE_POINTER SMBIOS_STRUCTURE_POINTER