]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/BdsDxe/Bds.h
Remove the non-standard definition: GLYPH_WIDTH and GLYPH_HEIGHT. All reference to...
[mirror_edk2.git] / MdeModulePkg / Universal / BdsDxe / Bds.h
CommitLineData
fd6a62f3 1/** @file\r
2 Head file for BDS Architectural Protocol implementation\r
93e3992d 3\r
fd6a62f3 4Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
93e3992d 5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
fd6a62f3 13**/\r
93e3992d 14\r
15#ifndef _BDS_MODULE_H_\r
16#define _BDS_MODULE_H_\r
17\r
18#undef EFI_SPECIFICATION_VERSION\r
19#define EFI_SPECIFICATION_VERSION 0x0002000A\r
20#include <PiDxe.h>\r
21#include <MdeModuleHii.h>\r
22\r
23#include <Guid/FileSystemVolumeLabelInfo.h>\r
24#include <Protocol/DevicePath.h>\r
25#include <Guid/BootState.h>\r
26#include <Guid/DataHubRecords.h>\r
27#include <Protocol/LoadFile.h>\r
28#include <Protocol/CpuIo.h>\r
29#include <Guid/HobList.h>\r
30#include <Guid/FileInfo.h>\r
31#include <Protocol/HiiConfigRouting.h>\r
32#include <Protocol/Bds.h>\r
33#include <Protocol/DataHub.h>\r
34#include <Protocol/UgaDraw.h>\r
35#include <Protocol/BlockIo.h>\r
36#include <Guid/GlobalVariable.h>\r
37#include <Guid/GenericPlatformVariable.h>\r
38#include <Guid/CapsuleVendor.h>\r
39#include <Protocol/ConsoleControl.h>\r
40#include <Protocol/GenericMemoryTest.h>\r
41#include <Protocol/FormBrowser2.h>\r
42#include <Protocol/HiiConfigAccess.h>\r
43#include <Protocol/GraphicsOutput.h>\r
44#include <Protocol/SimpleFileSystem.h>\r
45#include <Protocol/HiiDatabase.h>\r
46#include <Protocol/HiiString.h>\r
47#include <Protocol/SerialIo.h>\r
48#include <Protocol/LegacyBios.h>\r
49#include <Protocol/SimpleTextInEx.h>\r
50#include <Protocol/Performance.h>\r
51\r
52#include <Library/UefiDriverEntryPoint.h>\r
53#include <Library/PrintLib.h>\r
54#include <Library/DebugLib.h>\r
55#include <Library/BaseMemoryLib.h>\r
56#include <Library/UefiBootServicesTableLib.h>\r
57#include <Library/UefiLib.h>\r
58#include <Library/GraphicsLib.h>\r
59#include <Library/MemoryAllocationLib.h>\r
60#include <Library/DxeServicesTableLib.h>\r
61#include <Library/PerformanceLib.h>\r
62#include <Library/ReportStatusCodeLib.h>\r
63#include <Library/IfrSupportLib.h>\r
9226efe5 64#include <Library/ExtendedIfrSupportLib.h>\r
93e3992d 65#include <Library/UefiRuntimeServicesTableLib.h>\r
66#include <Library/HobLib.h>\r
67#include <Library/BaseLib.h>\r
68#include <Library/DevicePathLib.h>\r
69#include <Library/PcdLib.h>\r
70#include <Library/CapsuleLib.h>\r
71#include <Library/HiiLib.h>\r
9226efe5 72#include <Library/ExtendedHiiLib.h>\r
73\r
93e3992d 74\r
75#include <Library/GenericBdsLib.h>\r
76#include <Library/PlatformBdsLib.h>\r
77\r
78#define EFI_BDS_ARCH_PROTOCOL_INSTANCE_FROM_THIS(_this) \\r
79 CR (_this, \\r
80 EFI_BDS_ARCH_PROTOCOL_INSTANCE, \\r
81 Bds, \\r
82 EFI_BDS_ARCH_PROTOCOL_INSTANCE_SIGNATURE \\r
83 )\r
84\r
85EFI_STATUS\r
86PlatformBdsShowProgress (\r
87 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground,\r
88 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleBackground,\r
89 IN CHAR16 *Title,\r
90 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor,\r
91 IN UINTN Progress,\r
92 IN UINTN PreviousValue\r
93 );\r
94\r
95//\r
96// Prototypes\r
97//\r
98EFI_STATUS\r
99EFIAPI\r
100BdsInitialize (\r
101 IN EFI_HANDLE ImageHandle,\r
102 IN EFI_SYSTEM_TABLE *SystemTable\r
103 );\r
104\r
105VOID\r
106EFIAPI\r
107BdsEntry (\r
108 IN EFI_BDS_ARCH_PROTOCOL *This\r
109 );\r
110\r
111#endif\r