]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Library/BootLogoLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Include / Library / BootLogoLib.h
CommitLineData
8dfe7fd2
RN
1/** @file\r
2 This library is only intended to be used by PlatformBootManagerLib\r
3 to show progress bar and LOGO.\r
4\r
d1102dba 5Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
9d510e61 6SPDX-License-Identifier: BSD-2-Clause-Patent\r
8dfe7fd2
RN
7\r
8**/\r
9\r
10#ifndef _BOOT_LOGO_LIB_H_\r
11#define _BOOT_LOGO_LIB_H_\r
12\r
13#include <Protocol/PlatformLogo.h>\r
10fa5abf 14#include <Protocol/GraphicsOutput.h>\r
8dfe7fd2
RN
15\r
16/**\r
e0ac9c8a 17 Show LOGO returned from Edkii Platform Logo protocol on all consoles.\r
8dfe7fd2
RN
18**/\r
19EFI_STATUS\r
20EFIAPI\r
21BootLogoEnableLogo (\r
e0ac9c8a 22 VOID\r
8dfe7fd2
RN
23 );\r
24\r
8dfe7fd2 25/**\r
d1102dba 26 Use SystemTable ConOut to turn on video based Simple Text Out consoles. The\r
8dfe7fd2
RN
27 Simple Text Out screens will now be synced up with all non-video output devices.\r
28\r
29 @retval EFI_SUCCESS UGA devices are back in text mode and synced up.\r
30\r
31**/\r
32EFI_STATUS\r
33EFIAPI\r
34BootLogoDisableLogo (\r
35 VOID\r
36 );\r
37\r
38/**\r
39\r
40 Update progress bar with title above it. It only works in Graphics mode.\r
41\r
42 @param TitleForeground Foreground color for Title.\r
43 @param TitleBackground Background color for Title.\r
44 @param Title Title above progress bar.\r
45 @param ProgressColor Progress bar color.\r
46 @param Progress Progress (0-100)\r
47 @param PreviousValue The previous value of the progress.\r
48\r
49 @retval EFI_STATUS Successly update the progress bar\r
50\r
51**/\r
52EFI_STATUS\r
53EFIAPI\r
54BootLogoUpdateProgress (\r
1436aea4
MK
55 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground,\r
56 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleBackground,\r
57 IN CHAR16 *Title,\r
58 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor,\r
59 IN UINTN Progress,\r
60 IN UINTN PreviousValue\r
8dfe7fd2
RN
61 );\r
62\r
63#endif\r