]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OldMdePkg/Include/PeiCore.h
Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing...
[mirror_edk2.git] / OldMdePkg / Include / PeiCore.h
diff --git a/OldMdePkg/Include/PeiCore.h b/OldMdePkg/Include/PeiCore.h
new file mode 100644 (file)
index 0000000..ebda687
--- /dev/null
@@ -0,0 +1,53 @@
+/** @file\r
+\r
+  Root include file for PEI Core.\r
+\r
+  The PEI Core has its own module type since its entry point definition is \r
+  unique. This module type should only be used by the PEI core. The build \r
+  infrastructure automatically sets EDK_RELEASE_VERSION before including \r
+  this file. \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
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __PEI_CORE_H__\r
+#define __PEI_CORE_H__\r
+\r
+\r
+//\r
+// Check to make sure EDK_RELEASE_VERSION is defined\r
+//\r
+#if !defined(EDK_RELEASE_VERSION)\r
+  #error EDK_RELEASE_VERSION not defined\r
+#elif (EDK_RELEASE_VERSION == 0)\r
+  #error EDK_RELEASE_VERSION can not be zero\r
+#endif\r
+\r
+\r
+\r
+#include <Common/UefiBaseTypes.h>\r
+#include <Peim/PeiCis.h>\r
+\r
+#if defined(MDE_CPU_IPF)\r
+#include <SalApi.h>\r
+#include <PalApi.h>\r
+#endif\r
+\r
+//\r
+//StatusCodeDataTypeId needs DebugSupport Protocol definition\r
+//\r
+#include <Protocol/DebugSupport.h>\r
+#include <Common/StatusCodeDataTypeId.h>\r
+#include <Guid/StatusCodeDataTypeId.h>\r
+\r
+#include <Ppi/Pcd.h>\r
+\r
+#endif\r