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