]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/BdsDxe/Bds.h
1) Cleanup HiiLib, IfrSupportLib.
[mirror_edk2.git] / MdeModulePkg / Universal / BdsDxe / Bds.h
CommitLineData
93e3992d 1/*++\r
2\r
3Copyright (c) 2004 - 2007, 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\r
14 Bds.h\r
15\r
16Abstract:\r
17\r
18 Head file for BDS Architectural Protocol implementation\r
19\r
20Revision History\r
21\r
22--*/\r
23\r
24#ifndef _BDS_MODULE_H_\r
25#define _BDS_MODULE_H_\r
26\r
27#undef EFI_SPECIFICATION_VERSION\r
28#define EFI_SPECIFICATION_VERSION 0x0002000A\r
29#include <PiDxe.h>\r
30#include <MdeModuleHii.h>\r
31\r
32#include <Guid/FileSystemVolumeLabelInfo.h>\r
33#include <Protocol/DevicePath.h>\r
34#include <Guid/BootState.h>\r
35#include <Guid/DataHubRecords.h>\r
36#include <Protocol/LoadFile.h>\r
37#include <Protocol/CpuIo.h>\r
38#include <Guid/HobList.h>\r
39#include <Guid/FileInfo.h>\r
40#include <Protocol/HiiConfigRouting.h>\r
41#include <Protocol/Bds.h>\r
42#include <Protocol/DataHub.h>\r
43#include <Protocol/UgaDraw.h>\r
44#include <Protocol/BlockIo.h>\r
45#include <Guid/GlobalVariable.h>\r
46#include <Guid/GenericPlatformVariable.h>\r
47#include <Guid/CapsuleVendor.h>\r
48#include <Protocol/ConsoleControl.h>\r
49#include <Protocol/GenericMemoryTest.h>\r
50#include <Protocol/FormBrowser2.h>\r
51#include <Protocol/HiiConfigAccess.h>\r
52#include <Protocol/GraphicsOutput.h>\r
53#include <Protocol/SimpleFileSystem.h>\r
54#include <Protocol/HiiDatabase.h>\r
55#include <Protocol/HiiString.h>\r
56#include <Protocol/SerialIo.h>\r
57#include <Protocol/LegacyBios.h>\r
58#include <Protocol/SimpleTextInEx.h>\r
59#include <Protocol/Performance.h>\r
60\r
61#include <Library/UefiDriverEntryPoint.h>\r
62#include <Library/PrintLib.h>\r
63#include <Library/DebugLib.h>\r
64#include <Library/BaseMemoryLib.h>\r
65#include <Library/UefiBootServicesTableLib.h>\r
66#include <Library/UefiLib.h>\r
67#include <Library/GraphicsLib.h>\r
68#include <Library/MemoryAllocationLib.h>\r
69#include <Library/DxeServicesTableLib.h>\r
70#include <Library/PerformanceLib.h>\r
71#include <Library/ReportStatusCodeLib.h>\r
72#include <Library/IfrSupportLib.h>\r
9226efe5 73#include <Library/ExtendedIfrSupportLib.h>\r
93e3992d 74#include <Library/UefiRuntimeServicesTableLib.h>\r
75#include <Library/HobLib.h>\r
76#include <Library/BaseLib.h>\r
77#include <Library/DevicePathLib.h>\r
78#include <Library/PcdLib.h>\r
79#include <Library/CapsuleLib.h>\r
80#include <Library/HiiLib.h>\r
9226efe5 81#include <Library/ExtendedHiiLib.h>\r
82\r
93e3992d 83\r
84#include <Library/GenericBdsLib.h>\r
85#include <Library/PlatformBdsLib.h>\r
86\r
87#define EFI_BDS_ARCH_PROTOCOL_INSTANCE_FROM_THIS(_this) \\r
88 CR (_this, \\r
89 EFI_BDS_ARCH_PROTOCOL_INSTANCE, \\r
90 Bds, \\r
91 EFI_BDS_ARCH_PROTOCOL_INSTANCE_SIGNATURE \\r
92 )\r
93\r
94EFI_STATUS\r
95PlatformBdsShowProgress (\r
96 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground,\r
97 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleBackground,\r
98 IN CHAR16 *Title,\r
99 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor,\r
100 IN UINTN Progress,\r
101 IN UINTN PreviousValue\r
102 );\r
103\r
104//\r
105// Prototypes\r
106//\r
107EFI_STATUS\r
108EFIAPI\r
109BdsInitialize (\r
110 IN EFI_HANDLE ImageHandle,\r
111 IN EFI_SYSTEM_TABLE *SystemTable\r
112 );\r
113\r
114VOID\r
115EFIAPI\r
116BdsEntry (\r
117 IN EFI_BDS_ARCH_PROTOCOL *This\r
118 );\r
119\r
120#endif\r