/** @file
|
Platform Update Progress NULL library
|
|
Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
**/
|
|
#include <Uefi.h>
|
#include <Protocol/GenericMemoryTest.h>
|
#include <Protocol/GraphicsOutput.h>
|
|
/**
|
This function is called each second during the boot manager waits the timeout.
|
|
@param TimeoutRemain The remaining timeout.
|
**/
|
VOID
|
EFIAPI
|
PlatformBootManagerWaitCallback (
|
UINT16 TimeoutRemain
|
)
|
{
|
return;
|
}
|
/**
|
|
Show progress bar with title above it. It only works in Graphics mode.
|
|
@param TitleForeground Foreground color for Title.
|
@param TitleBackground Background color for Title.
|
@param Title Title above progress bar.
|
@param ProgressColor Progress bar color.
|
@param Progress Progress (0-100)
|
@param PreviousValue The previous value of the progress.
|
|
@retval EFI_STATUS Success update the progress bar
|
|
**/
|
EFI_STATUS
|
PlatformBootManagerShowProgress (
|
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground,
|
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleBackground,
|
IN CHAR16 *Title,
|
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor,
|
IN UINTN Progress,
|
IN UINTN PreviousValue
|
)
|
{
|
return EFI_SUCCESS;
|
}
|