/** @file\r
\r
- Root include file for Mde Package UEFI modules.\r
-\r
- UEFI modules follow the public EFI 1.10 or UEFI 2.0 specifications and\r
- also contains the infrastructure required to build modules. The build \r
- infrastructure must set EFI_SPECIFICATION_VERSION before including this \r
- file. To support R9/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To \r
- support R8.5/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010. \r
- Seting EDK_RELEASE_VERSION to zero implies no Tiano extensions and a\r
- non zero value implies Tiano extensions are availible. \r
- EFI_SPECIFIATION_VERSION and EDK_RELEASE_VERSION are set automatically\r
- by the build infrastructure for every module.\r
- \r
-Copyright (c) 2006, 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
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ Root include file for Mde Package UEFI, UEFI_APPLICATION type modules.\r
+\r
+ This is the include file for any module of type UEFI and UEFI_APPLICATION. Uefi modules only use \r
+ types defined via this include file and can be ported easily to any \r
+ environment. \r
+\r
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution. \r
+The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php. \r
+ \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
**/\r
\r
+#ifndef __PI_UEFI_H__\r
+#define __PI_UEFI_H__\r
\r
-#ifndef __UEFI_H__\r
-#define __UEFI_H__\r
-\r
-\r
-//\r
-// Check to make sure EFI_SPECIFICATION_VERSION and EDK_RELEASE_VERSION are defined.\r
-// also check for legal combinations\r
-//\r
-#if !defined(EFI_SPECIFICATION_VERSION)\r
- #error EFI_SPECIFICATION_VERSION not defined\r
-#elif !defined(EDK_RELEASE_VERSION)\r
- #error EDK_RELEASE_VERSION not defined\r
-#elif EDK_RELEASE_VERSION == 0x00000000\r
-//\r
-// UEFI mode with no Tiano extensions is legal\r
-//\r
-#elif (EDK_RELEASE_VERSION <= 0x00080005) && (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
- #error Illegal combination of EFI_SPECIFICATION_VERSION and EDK_RELEASE_VERSION versions\r
-#endif\r
-\r
-\r
-\r
-#include <Common/UefiBaseTypes.h>\r
+#include <Uefi/UefiBaseType.h>\r
#include <Uefi/UefiSpec.h>\r
\r
-//\r
-// Need due to R8.5 Tiano contamination of UEFI enumes. \r
-// There is a UEFI library that does things the new way and the old way\r
-// This is why these definitions are need in Uefi.h\r
-//\r
-#include <Guid/EventLegacyBios.h>\r
-#include <Guid/FrameworkDevicePath.h>\r
-\r
-\r
-//\r
-// All module types types have access to PCD for build support\r
-//\r
-#include <Protocol/Pcd.h>\r
-\r
#endif\r
+\r