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