]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/DxeCore.h
Define GLOABAL_REMOVE_IF_UNREFERENCED for IPF on MSFT tool chains
[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
44
45 #include <Common/UefiBaseTypes.h>
46 #include <Dxe/DxeCis.h>
47
48 #endif