]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Uefi.h
Import Pal.h and Sal.h.
[mirror_edk2.git] / MdePkg / Include / Uefi.h
index 7c9c7480ccd6b90e5154ef1d6a6e7467f8d01267..3ae15dea9adaedde00154bb15337e9fbdf6020f5 100644 (file)
@@ -1,18 +1,13 @@
 /** @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 EDK II/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To \r
-  support EDK/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
+  Root include file for Mde Package UEFI, UEFI_APPLICATION type modules.\r
+\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,36 +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/UefiSpec.h>\r
-\r
-\r
-//\r
-// All module types types have access to PCD for build support\r
-//\r
-#include <Protocol/Pcd.h>\r
+#include <UefiBaseType.h>\r
+#include <UefiSpec.h>\r
 \r
 #endif\r
+\r