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