TianoCore EDK2 master
|
#include "BootManagerMenu.h"
Go to the source code of this file.
Variables | |
EFI_HII_HANDLE | gStringPackHandle |
BOOLEAN | mModeInitialized = FALSE |
UINT32 | mBootHorizontalResolution = 0 |
UINT32 | mBootVerticalResolution = 0 |
UINT32 | mBootTextModeColumn = 0 |
UINT32 | mBootTextModeRow = 0 |
UINT32 | mSetupTextModeColumn = 0 |
UINT32 | mSetupTextModeRow = 0 |
UINT32 | mSetupHorizontalResolution = 0 |
UINT32 | mSetupVerticalResolution = 0 |
The application to show the Boot Manager Menu.
Copyright (c) 2011 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file BootManagerMenu.c.
EFI_STATUS EFIAPI BdsSetConsoleMode | ( | BOOLEAN | IsSetupMode | ) |
This function will change video resolution and text mode according to defined setup mode or defined boot mode
IsSetupMode | Indicate mode is changed to setup mode or boot mode. |
EFI_SUCCESS | Mode is changed successfully. |
Others | Mode failed to be changed. |
Definition at line 771 of file BootManagerMenu.c.
VOID BootFromSelectOption | ( | IN EFI_BOOT_MANAGER_LOAD_OPTION * | BootOptions, |
IN UINTN | BootOptionCount, | ||
IN UINTN | SelectItem | ||
) |
This function uses to boot from selected item
BootOptions | Pointer to EFI_BOOT_MANAGER_LOAD_OPTION array. |
BootOptionCount | Number of boot option. |
SelectItem | Current selected item. |
Definition at line 736 of file BootManagerMenu.c.
EFI_STATUS EFIAPI BootManagerMenuEntry | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Display the boot popup menu and allow user select boot item.
ImageHandle | The image handle. |
SystemTable | The system table. |
EFI_SUCCESS | Boot from selected boot option, and return success from boot option |
EFI_NOT_FOUND | User select to enter setup or can not find boot option |
Definition at line 991 of file BootManagerMenu.c.
EFI_STATUS BootMenuSelectItem | ( | IN UINTN | WantSelectItem, |
IN OUT BOOT_MENU_POPUP_DATA * | BootMenuData | ||
) |
This function uses input select item to highlight selected item and set current selected item in BootMenuData
WantSelectItem | The user wants to select item. |
BootMenuData | The boot menu data to be processed |
EFI_INVALID_PARAMETER | Input parameter is invalid |
Definition at line 423 of file BootManagerMenu.c.
EFI_STATUS DrawBootPopupMenu | ( | IN BOOT_MENU_POPUP_DATA * | BootMenuData | ) |
This function uses to draw boot popup menu
BootMenuData | The Input BootMenuData to be processed. |
EFI_SUCCESS | Draw boot popup menu successful. |
Definition at line 574 of file BootManagerMenu.c.
Count the storage space of a Unicode string which uses current language to get from input string ID.
StringId | The input string to be counted. |
Definition at line 147 of file BootManagerMenu.c.
BOOLEAN IgnoreBootOption | ( | IN EFI_BOOT_MANAGER_LOAD_OPTION * | BootOption | ) |
Return whether to ignore the boot option.
BootOption | Pointer to EFI_BOOT_MANAGER_LOAD_OPTION to check. |
TRUE | Ignore the boot option. |
FALSE | Do not ignore the boot option. |
Definition at line 323 of file BootManagerMenu.c.
EFI_STATUS InitializeBootMenuData | ( | IN EFI_BOOT_MANAGER_LOAD_OPTION * | BootOption, |
IN UINTN | BootOptionCount, | ||
OUT BOOT_MENU_POPUP_DATA * | BootMenuData | ||
) |
This function uses to initialize boot menu data
BootOption | Pointer to EFI_BOOT_MANAGER_LOAD_OPTION array. |
BootOptionCount | Number of boot option. |
BootMenuData | The Input BootMenuData to be initialized. |
EFI_SUCCESS | Initialize boot menu data successful. |
EFI_INVALID_PARAMETER | Input parameter is invalid. |
Definition at line 368 of file BootManagerMenu.c.
EFI_STATUS InitializeBootMenuScreen | ( | IN OUT BOOT_MENU_POPUP_DATA * | BootMenuData | ) |
This function uses calculate the boot menu location, size and scroll bar information.
BootMenuData | The boot menu data to be processed. |
EFI_INVALID_PARAMETER | Input parameter is invalid |
Definition at line 216 of file BootManagerMenu.c.
BOOLEAN IsBootManagerMenu | ( | IN EFI_BOOT_MANAGER_LOAD_OPTION * | BootOption | ) |
This function uses check boot option is wheher setup application or no
BootOption | Pointer to EFI_BOOT_MANAGER_LOAD_OPTION array. |
TRUE | This boot option is setup application. |
FALSE | This boot options isn't setup application |
Definition at line 299 of file BootManagerMenu.c.
Prints a character to the default console, at the supplied cursor position, using L"%c" format.
Column | The cursor position to print the string at. |
Row | The cursor position to print the string at. |
Character | Character to print. |
Definition at line 112 of file BootManagerMenu.c.
Prints a unicode string to the default console, at the supplied cursor position, using L"%s" format.
Column | The cursor position to print the string at. |
Row | The cursor position to print the string at |
String | String pointer. |
Definition at line 42 of file BootManagerMenu.c.
EFI_HII_HANDLE gStringPackHandle |
Definition at line 11 of file BootManagerMenu.c.
UINT32 mBootHorizontalResolution = 0 |
Definition at line 18 of file BootManagerMenu.c.
UINT32 mBootTextModeColumn = 0 |
Definition at line 20 of file BootManagerMenu.c.
UINT32 mBootTextModeRow = 0 |
Definition at line 21 of file BootManagerMenu.c.
UINT32 mBootVerticalResolution = 0 |
Definition at line 19 of file BootManagerMenu.c.
BOOLEAN mModeInitialized = FALSE |
Definition at line 13 of file BootManagerMenu.c.
UINT32 mSetupHorizontalResolution = 0 |
Definition at line 27 of file BootManagerMenu.c.
UINT32 mSetupTextModeColumn = 0 |
Definition at line 25 of file BootManagerMenu.c.
UINT32 mSetupTextModeRow = 0 |
Definition at line 26 of file BootManagerMenu.c.
UINT32 mSetupVerticalResolution = 0 |
Definition at line 28 of file BootManagerMenu.c.