Clean up codes which are related with status code.
[mirror_edk2.git] / EdkModulePkg / Include / EdkDxe.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13 EdkDxe.h\r
14\r
15Abstract:\r
16 This file defines the base package surface area for writting a PEIM\r
17 \r
18 Things defined in the Tiano specification go in DxeCis.h. \r
19\r
20 Dxe.h contains build environment and library information needed to build\r
21 a basic Dxe driver. This file must match the "base package" definition of\r
22 how to write a Dxe driver.\r
23\r
24--*/\r
25\r
26#ifndef __EDK_DXE_H__\r
27#define __EDK_DXE_H__\r
28\r
29//\r
30#include <Common/FlashMap.h>\r
31// BUGBUG: We must include this lib here due to ordering issues\r
32//\r
33#include <Ipf/SalApi.h>\r
34#include <Library/PeCoffLib.h>\r
35\r
36\r
37#include <Guid/MemoryTypeInformation.h>\r
38#include <Guid/FlashMapHob.h>\r
39#include <Guid/SystemNvDataGuid.h>\r
40#include <Guid/AlternateFvBlock.h>\r
41#include <Guid/ConsoleInDevice.h>\r
42#include <Guid/ConsoleOutDevice.h>\r
43#include <Guid/StandardErrorDevice.h>\r
44#include <Guid/HotPlugDevice.h>\r
45#include <Guid/PrimaryStandardErrorDevice.h>\r
46#include <Guid/PrimaryConsoleInDevice.h>\r
47#include <Guid/PrimaryConsoleOutDevice.h>\r
48#include <Guid/Bmp.h>\r
49#include <Guid/BootState.h>\r
50#include <Guid/ShellFile.h>\r
51#include <Guid/MiniShellFile.h>\r
52#include <Guid/StatusCode.h>\r
53#include <Guid/PciOptionRomTable.h>\r
54#include <Guid/PciHotplugDevice.h>\r
55#include <Guid/ExtendedSalGuid.h>\r
56#include <Guid/PeiPeCoffLoader.h>\r
57#include <Guid/CapsuleVendor.h>\r
58#include <Guid/CompatibleMemoryTested.h>\r
56836fe9 59#include <Guid/MemoryStatusCodeRecord.h>\r
878ddf1f 60\r
61#include <Ppi/StatusCodeMemory.h>\r
62\r
63#include <Protocol/CustomizedDecompress.h>\r
64#include <Protocol/DebugLevel.h>\r
65#include <Protocol/LoadPe32Image.h>\r
66#include <Protocol/EdkDecompress.h>\r
67#include <Protocol/Print.h>\r
68#include <Protocol/GenericMemoryTest.h>\r
69#include <Protocol/DiskInfo.h>\r
70#include <Protocol/FvbExtension.h>\r
71#include <Protocol/SecurityPolicy.h>\r
72#include <Protocol/FaultTolerantWriteLite.h>\r
73#include <Protocol/ConsoleControl.h>\r
74#include <Protocol/OEMBadging.h>\r
75#include <Protocol/LegacyBios.h>\r
76#include <Protocol/UgaSplash.h>\r
77#include <Protocol/AcpiS3Save.h>\r
78#include <Protocol/Performance.h>\r
79#include <Protocol/PxeDhcp4.h>\r
4cbd855e 80#include <Protocol/PxeDhcp4CallBack.h>\r
878ddf1f 81#include <Protocol/UgaIo.h>\r
82#include <Protocol/DebugAssert.h>\r
83#include <Protocol/usbatapi.h>\r
84#include <Protocol/PciHotPlugRequest.h>\r
85#include <Protocol/ExtendedSalBootService.h>\r
86#include <Protocol/IsaAcpi.h>\r
87\r
88#if ((EDK_RELEASE_VERSION != 0) && (EFI_SPECIFICATION_VERSION < 0x00020000))\r
89//\r
a537f148 90// Old EDK modules use Module use ScsiPassThru protocol together with the original ScsiIo protocol \r
878ddf1f 91// In UEFI2.0, Module use ScsiPassThruExt Protocol with new UEFI2.0 ScsiIo protocol\r
92//\r
93#include <Protocol/ScsiIo.h>\r
94#endif\r
95\r
045f4521 96#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
97#include <Protocol/Capsule.h>\r
98#endif\r
99\r
878ddf1f 100#endif\r