automagically convert ELF to PE/COFF (i386 only)
[mirror_edk2.git] / MdePkg / Include / Dxe.h
CommitLineData
878ddf1f 1/** @file\r
2\r
3 Root include file for Mde Package DXE modules\r
4\r
5 DXE modules follow the public Framework specifications and the UEFI \r
6 specifiations. The build infrastructure must set \r
7 EFI_SPECIFICATION_VERSION before including this file. To support \r
a537f148 8 EDK II/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To support \r
9 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#ifndef __DXE_H__\r
27#define __DXE_H__\r
28\r
29//\r
30// Check to make sure EFI_SPECIFICATION_VERSION and EDK_RELEASE_VERSION are defined.\r
31//\r
32#if !defined(EFI_SPECIFICATION_VERSION)\r
33 #error EFI_SPECIFICATION_VERSION not defined\r
34#elif !defined(EDK_RELEASE_VERSION)\r
35 #error EDK_RELEASE_VERSION not defined\r
36#elif (EDK_RELEASE_VERSION == 0)\r
37 #error EDK_RELEASE_VERSION can not be zero\r
38#endif\r
39\r
878ddf1f 40#include <Common/UefiBaseTypes.h>\r
41#include <Dxe/DxeCis.h>\r
9c89ec98 42\r
43#if defined(MDE_CPU_IA32) || defined(MDE_CPU_X64)\r
878ddf1f 44#include <Dxe/SmmCis.h>\r
9c89ec98 45#endif\r
46\r
47#if defined(MDE_CPU_IPF)\r
48#include <SalApi.h>\r
49#endif\r
878ddf1f 50\r
51#include <Common/DataHubRecords.h>\r
52#include <Guid/DataHubRecords.h>\r
53\r
54#include <Protocol/Pcd.h>\r
878ddf1f 55\r
56#endif\r