X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FUefi.h;h=7c9c7480ccd6b90e5154ef1d6a6e7467f8d01267;hp=fcaaeb262cde70b243763d68bf0862b0a7db66d3;hb=80d1b384da6707703124fcf6964ae0ae07b07945;hpb=878ddf1fc3540a715f63594ed22b6929e881afb4 diff --git a/MdePkg/Include/Uefi.h b/MdePkg/Include/Uefi.h index fcaaeb262c..7c9c7480cc 100644 --- a/MdePkg/Include/Uefi.h +++ b/MdePkg/Include/Uefi.h @@ -5,8 +5,8 @@ UEFI modules follow the public EFI 1.10 or UEFI 2.0 specifications and also contains the infrastructure required to build modules. The build infrastructure must set EFI_SPECIFICATION_VERSION before including this - file. To support R9/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To - support R8.5/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010. + file. To support EDK II/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To + support EDK/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010. Seting EDK_RELEASE_VERSION to zero implies no Tiano extensions and a non zero value implies Tiano extensions are availible. EFI_SPECIFIATION_VERSION and EDK_RELEASE_VERSION are set automatically @@ -40,7 +40,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. // // UEFI mode with no Tiano extensions is legal // -#elif (EDK_RELEASE_VERSION <= 0x00080005) && (EFI_SPECIFICATION_VERSION >= 0x00020000) +#elif (EDK_RELEASE_VERSION < 0x00020000) && (EFI_SPECIFICATION_VERSION >= 0x00020000) #error Illegal combination of EFI_SPECIFICATION_VERSION and EDK_RELEASE_VERSION versions #endif @@ -49,14 +49,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include -// -// Need due to R8.5 Tiano contamination of UEFI enumes. -// There is a UEFI library that does things the new way and the old way -// This is why these definitions are need in Uefi.h -// -#include -#include - // // All module types types have access to PCD for build support