automagically convert ELF to PE/COFF (i386 only)
[mirror_edk2.git] / MdePkg / Include / PeiCore.h
1 /** @file
2
3 Root include file for PEI Core.
4
5 The PEI Core has its own module type since its entry point definition is
6 unique. This module type should only be used by the PEI core. The build
7 infrastructure automatically sets EDK_RELEASE_VERSION before including
8 this file.
9
10 Copyright (c) 2006, Intel Corporation
11 All rights reserved. This program and the accompanying materials
12 are licensed and made available under the terms and conditions of the BSD License
13 which accompanies this distribution. The full text of the license may be found at
14 http://opensource.org/licenses/bsd-license.php
15
16 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18
19 **/
20
21 #ifndef __PEI_CORE_H__
22 #define __PEI_CORE_H__
23
24
25 //
26 // Check to make sure EDK_RELEASE_VERSION is defined
27 //
28 #if !defined(EDK_RELEASE_VERSION)
29 #error EDK_RELEASE_VERSION not defined
30 #elif (EDK_RELEASE_VERSION == 0)
31 #error EDK_RELEASE_VERSION can not be zero
32 #endif
33
34
35
36 #include <Common/UefiBaseTypes.h>
37 #include <Peim/PeiCis.h>
38
39 #if defined(MDE_CPU_IPF)
40 #include <SalApi.h>
41 #endif
42
43 //
44 //StatusCodeDataTypeId needs DebugSupport Protocol definition
45 //
46 #include <Protocol/DebugSupport.h>
47 #include <Common/StatusCodeDataTypeId.h>
48 #include <Guid/StatusCodeDataTypeId.h>
49
50 #include <Ppi/Pcd.h>
51
52 #endif