]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Uefi.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2835 6f19259b...
[mirror_edk2.git] / MdePkg / Include / Uefi.h
index 34fcdf6c0e3c4b7a45942496303c1935dca26353..e2f68d5779857f9c73f45e90059f68ce763f820e 100644 (file)
@@ -1,18 +1,13 @@
 /** @file\r
 \r
-  Root include file for Mde Package UEFI modules.\r
+  Root include file for Mde Package UEFI, UEFI_APPLICATION type 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
+  This is the include file for any module of type base. Base modules only use \r
+  types defined via this include file and can be ported easily to any \r
+  environment. There are a set of base libraries in the Mde Package that can\r
+  be used to implement base modules.\r
+\r
+Copyright (c) 2006 - 2007, 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
@@ -23,44 +18,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \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 < 0x00020000) && (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