X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FUefi.h;h=7b349bb62b85aad1fecd78bede96dfea67910e22;hb=ed6da357a30666cfccfd2539d88e6171710084b7;hp=ebf93c0e1bd83c8c32ca7b58cc3844751fa73d63;hpb=63afc36022df9431419e6b184febd8054bfdbbc6;p=mirror_edk2.git diff --git a/MdePkg/Include/Uefi.h b/MdePkg/Include/Uefi.h index ebf93c0e1b..7b349bb62b 100644 --- a/MdePkg/Include/Uefi.h +++ b/MdePkg/Include/Uefi.h @@ -1,57 +1,27 @@ /** @file - Root include file for Mde Package UEFI modules. - - 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 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 - by the build infrastructure for every module. - -Copyright (c) 2006, 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 -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + Root include file for Mde Package UEFI, UEFI_APPLICATION type modules. + + This is the include file for any module of type UEFI and UEFI_APPLICATION. Uefi modules only use + types defined via this include file and can be ported easily to any + environment. + +Copyright (c) 2006 - 2010, 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 that accompanies this distribution. +The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php. + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ +#ifndef __PI_UEFI_H__ +#define __PI_UEFI_H__ -#ifndef __UEFI_H__ -#define __UEFI_H__ - - -// -// Check to make sure EFI_SPECIFICATION_VERSION and EDK_RELEASE_VERSION are defined. -// also check for legal combinations -// -#if !defined(EFI_SPECIFICATION_VERSION) - #error EFI_SPECIFICATION_VERSION not defined -#elif !defined(EDK_RELEASE_VERSION) - #error EDK_RELEASE_VERSION not defined -#elif EDK_RELEASE_VERSION == 0x00000000 -// -// UEFI mode with no Tiano extensions is legal -// -#elif (EDK_RELEASE_VERSION < 0x00020000) && (EFI_SPECIFICATION_VERSION >= 0x00020000) - #error Illegal combination of EFI_SPECIFICATION_VERSION and EDK_RELEASE_VERSION versions -#endif - - - -#include +#include #include -#if defined(MDE_CPU_IPF) -#include -#include #endif -#endif