automagically convert ELF to PE/COFF (i386 only)
[mirror_edk2.git] / MdePkg / Include / DxeCore.h
CommitLineData
878ddf1f 1/** @file\r
2\r
3 Root include file for DXE Core\r
4\r
5 The DXE Core has its own module type since its entry point definition is \r
6 unique. This module type should only be used by the DXE core. The build \r
7 infrastructure must set EFI_SPECIFICATION_VERSION before including this \r
a537f148 8 file. To support EDK II/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To \r
9 support EDK/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010. \r
878ddf1f 10 EDK_RELEASE_VERSION must be set to a non zero value. \r
11 EFI_SPECIFIATION_VERSION and EDK_RELEASE_VERSION are set automatically\r
12 by the build infrastructure for every module.\r
13\r
14\r
15Copyright (c) 2006, Intel Corporation\r
16All rights reserved. This program and the accompanying materials\r
17are licensed and made available under the terms and conditions of the BSD License\r
18which accompanies this distribution. The full text of the license may be found at\r
19http://opensource.org/licenses/bsd-license.php\r
20\r
21THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
22WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
23\r
24**/\r
25\r
26\r
27#ifndef __DXE_CORE_H__\r
28#define __DXE_CORE_H__\r
29\r
30\r
31//\r
32// Check to make sure EFI_SPECIFICATION_VERSION and EDK_RELEASE_VERSION are defined.\r
33// also check for legal combinations\r
34//\r
35#if !defined(EFI_SPECIFICATION_VERSION)\r
36 #error EFI_SPECIFICATION_VERSION not defined\r
37#elif !defined(EDK_RELEASE_VERSION)\r
38 #error EDK_RELEASE_VERSION not defined\r
39#elif (EDK_RELEASE_VERSION == 0)\r
40 #error EDK_RELEASE_VERSION can not be zero\r
41#endif\r
42\r
878ddf1f 43#include <Common/UefiBaseTypes.h>\r
44#include <Dxe/DxeCis.h>\r
45\r
9c89ec98 46#if defined(MDE_CPU_IPF)\r
47#include <SalApi.h>\r
48#endif\r
49\r
878ddf1f 50#endif\r