#ifndef _BDS_MODULE_H_\r
#define _BDS_MODULE_H_\r
\r
-#undef EFI_SPECIFICATION_VERSION\r
-#define EFI_SPECIFICATION_VERSION 0x0002000A\r
#include <PiDxe.h>\r
#include <MdeModuleHii.h>\r
\r
#include <Guid/DataHubRecords.h>\r
#include <Protocol/LoadFile.h>\r
#include <Protocol/CpuIo.h>\r
-#include <Guid/HobList.h>\r
#include <Guid/FileInfo.h>\r
#include <Protocol/HiiConfigRouting.h>\r
#include <Protocol/Bds.h>\r
#include <Library/BaseMemoryLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/UefiLib.h>\r
-#include <Library/GraphicsLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
-#include <Library/DxeServicesTableLib.h>\r
#include <Library/PerformanceLib.h>\r
#include <Library/ReportStatusCodeLib.h>\r
#include <Library/IfrSupportLib.h>\r
#include <Library/PlatformBdsLib.h>\r
\r
#define EFI_BDS_ARCH_PROTOCOL_INSTANCE_FROM_THIS(_this) \\r
- CR (_this, \\r
- EFI_BDS_ARCH_PROTOCOL_INSTANCE, \\r
- Bds, \\r
- EFI_BDS_ARCH_PROTOCOL_INSTANCE_SIGNATURE \\r
+ CR ((_this), \\r
+ EFI_BDS_ARCH_PROTOCOL_INSTANCE, \\r
+ Bds, \\r
+ EFI_BDS_ARCH_PROTOCOL_INSTANCE_SIGNATURE \\r
)\r
\r
+/**\r
+\r
+ Show progress bar with title above it. It only works in Graphics mode.\r
+\r
+ @param TitleForeground Foreground color for Title.\r
+ @param TitleBackground Background color for Title.\r
+ @param Title Title above progress bar.\r
+ @param ProgressColor Progress bar color.\r
+ @param Progress Progress (0-100)\r
+ @param PreviousValue The previous value of the progress.\r
+\r
+ @retval EFI_STATUS Success update the progress bar\r
+\r
+**/\r
EFI_STATUS\r
PlatformBdsShowProgress (\r
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground,\r
\r
Install Boot Device Selection Protocol\r
\r
-\r
@param ImageHandle The image handle.\r
@param SystemTable The system table.\r
\r
@retval EFI_SUCEESS BDS has finished initializing.\r
- Rerun the\r
- dispatcher and recall BDS.Entry\r
- @retval Other Return value from AllocatePool()\r
- or gBS->InstallProtocolInterface\r
+ Return the dispatcher and recall BDS.Entry\r
+ @retval Other Return status from AllocatePool() or gBS->InstallProtocolInterface\r
\r
**/\r
EFI_STATUS\r
Service routine for BdsInstance->Entry(). Devices are connected, the\r
consoles are initialized, and the boot options are tried.\r
\r
-\r
- @param This - Protocol Instance structure.\r
-\r
- @retval EFI_SUCEESS BDS->Entry has finished executing.\r
+ @param This Protocol Instance structure.\r
\r
**/\r
VOID\r