10#ifndef _UEFI_BOOT_MANAGER_LIB_H_
11#define _UEFI_BOOT_MANAGER_LIB_H_
25 LoadOptionTypeSysPrep,
27 LoadOptionTypePlatformRecovery,
29} EFI_BOOT_MANAGER_LOAD_OPTION_TYPE;
32 LoadOptionNumberMax = 0x10000,
33 LoadOptionNumberUnassigned = LoadOptionNumberMax
34} EFI_BOOT_MANAGER_LOAD_OPTION_NUMBER;
44 EFI_BOOT_MANAGER_LOAD_OPTION_TYPE OptionType;
49 UINT32 OptionalDataSize;
76 IN EFI_BOOT_MANAGER_LOAD_OPTION_TYPE LoadOptionType
115 IN EFI_BOOT_MANAGER_LOAD_OPTION_TYPE OptionType,
116 IN UINT32 Attributes,
117 IN CHAR16 *Description,
119 IN UINT8 *OptionalData,
120 IN UINT32 OptionalDataSize
153 IN CHAR16 *VariableName,
213 IN EFI_BOOT_MANAGER_LOAD_OPTION_TYPE OptionType
226 IN EFI_BOOT_MANAGER_LOAD_OPTION_TYPE OptionType,
227 IN SORT_COMPARE CompareFunction
302#define EFI_BOOT_MANAGER_SHIFT_PRESSED 0x00000001
303#define EFI_BOOT_MANAGER_CONTROL_PRESSED 0x00000002
304#define EFI_BOOT_MANAGER_ALT_PRESSED 0x00000004
305#define EFI_BOOT_MANAGER_LOGO_PRESSED 0x00000008
306#define EFI_BOOT_MANAGER_MENU_KEY_PRESSED 0x00000010
307#define EFI_BOOT_MANAGER_SYS_REQ_PRESSED 0x00000020
325 IN UINT16 BootOptionNumber,
528 IN CONST CHAR16 *DefaultDescription
646 IN CONSOLE_TYPE ConsoleType,
668 IN CONSOLE_TYPE ConsoleType
798 IN CHAR16 *VariableName,
799 OUT EFI_BOOT_MANAGER_LOAD_OPTION_TYPE *OptionType OPTIONAL,
800 OUT UINT16 *OptionNumber OPTIONAL
VOID EFIAPI EfiBootManagerSortLoadOptionVariable(IN EFI_BOOT_MANAGER_LOAD_OPTION_TYPE OptionType, IN SORT_COMPARE CompareFunction)
EFI_STATUS EFIAPI EfiBootManagerDispatchDeferredImages(VOID)
EFI_STATUS EFIAPI EfiBootManagerConnectConsoleVariable(IN CONSOLE_TYPE ConsoleType)
EFI_STATUS EFIAPI EfiBootManagerLoadOptionToVariable(IN CONST EFI_BOOT_MANAGER_LOAD_OPTION *LoadOption)
VOID EFIAPI EfiBootManagerBoot(IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption)
EFI_STATUS EFIAPI EfiBootManagerStartHotkeyService(IN EFI_EVENT *HotkeyTriggered)
VOID *EFIAPI EfiBootManagerGetLoadOptionBuffer(IN EFI_DEVICE_PATH_PROTOCOL *FilePath, OUT EFI_DEVICE_PATH_PROTOCOL **FullPath, OUT UINTN *FileSize)
CHAR16 *(EFIAPI * EFI_BOOT_MANAGER_BOOT_DESCRIPTION_HANDLER)(IN EFI_HANDLE Handle, IN CONST CHAR16 *DefaultDescription)
EFI_STATUS EFIAPI EfiBootManagerFreeLoadOption(IN EFI_BOOT_MANAGER_LOAD_OPTION *LoadOption)
EFI_STATUS EFIAPI EfiBootManagerConnectVideoController(EFI_HANDLE VideoController OPTIONAL)
VOID EFIAPI EfiBootManagerHotkeyBoot(VOID)
EFI_STATUS EFIAPI EfiBootManagerConnectAllDefaultConsoles(VOID)
EFI_STATUS EFIAPI EfiBootManagerRegisterContinueKeyOption(IN UINT32 Modifier,...)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI EfiBootManagerGetNextLoadOptionDevicePath(IN EFI_DEVICE_PATH_PROTOCOL *FilePath, IN EFI_DEVICE_PATH_PROTOCOL *FullPath)
EFI_STATUS EFIAPI EfiBootManagerUpdateConsoleVariable(IN CONSOLE_TYPE ConsoleType, IN EFI_DEVICE_PATH_PROTOCOL *CustomizedConDevicePath, IN EFI_DEVICE_PATH_PROTOCOL *ExclusiveDevicePath)
EFI_BOOT_MANAGER_LOAD_OPTION *EFIAPI EfiBootManagerGetLoadOptions(OUT UINTN *LoadOptionCount, IN EFI_BOOT_MANAGER_LOAD_OPTION_TYPE LoadOptionType)
VOID EFIAPI EfiBootManagerRefreshAllBootOption(VOID)
VOID(EFIAPI * EFI_BOOT_MANAGER_LEGACY_BOOT)(IN EFI_BOOT_MANAGER_LOAD_OPTION *BootOption)
EFI_STATUS EFIAPI EfiBootManagerAddLoadOptionVariable(IN OUT EFI_BOOT_MANAGER_LOAD_OPTION *Option, IN UINTN Position)
EFI_STATUS EFIAPI EfiBootManagerFreeLoadOptions(IN EFI_BOOT_MANAGER_LOAD_OPTION *LoadOptions, IN UINTN LoadOptionCount)
EFI_STATUS EFIAPI EfiBootManagerVariableToLoadOption(IN CHAR16 *VariableName, IN OUT EFI_BOOT_MANAGER_LOAD_OPTION *LoadOption)
VOID(EFIAPI * EFI_BOOT_MANAGER_REFRESH_LEGACY_BOOT_OPTION)(VOID)
EFI_STATUS EFIAPI EfiBootManagerConnectDevicePath(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathToConnect, OUT EFI_HANDLE *MatchingHandle OPTIONAL)
EFI_STATUS EFIAPI EfiBootManagerFreeDriverHealthInfo(EFI_BOOT_MANAGER_DRIVER_HEALTH_INFO *DriverHealthInfo, UINTN Count)
VOID EFIAPI EfiBootManagerRegisterLegacyBootSupport(EFI_BOOT_MANAGER_REFRESH_LEGACY_BOOT_OPTION RefreshLegacyBootOption, EFI_BOOT_MANAGER_LEGACY_BOOT LegacyBoot)
INTN EFIAPI EfiBootManagerFindLoadOption(IN CONST EFI_BOOT_MANAGER_LOAD_OPTION *Key, IN CONST EFI_BOOT_MANAGER_LOAD_OPTION *Array, IN UINTN Count)
EFI_STATUS EFIAPI EfiBootManagerDeleteLoadOptionVariable(IN UINTN OptionNumber, IN EFI_BOOT_MANAGER_LOAD_OPTION_TYPE OptionType)
VOID EFIAPI EfiBootManagerConnectAll(VOID)
BOOLEAN EFIAPI EfiBootManagerIsValidLoadOptionVariableName(IN CHAR16 *VariableName, OUT EFI_BOOT_MANAGER_LOAD_OPTION_TYPE *OptionType OPTIONAL, OUT UINT16 *OptionNumber OPTIONAL)
EFI_STATUS EFIAPI EfiBootManagerGetBootManagerMenu(EFI_BOOT_MANAGER_LOAD_OPTION *BootOption)
EFI_STATUS EFIAPI EfiBootManagerDeleteKeyOptionVariable(IN EFI_BOOT_MANAGER_KEY_OPTION *DeletedOption OPTIONAL, IN UINT32 Modifier,...)
EFI_STATUS EFIAPI EfiBootManagerRegisterBootDescriptionHandler(IN EFI_BOOT_MANAGER_BOOT_DESCRIPTION_HANDLER Handler)
EFI_STATUS EFIAPI EfiBootManagerInitializeLoadOption(IN OUT EFI_BOOT_MANAGER_LOAD_OPTION *Option, IN UINTN OptionNumber, IN EFI_BOOT_MANAGER_LOAD_OPTION_TYPE OptionType, IN UINT32 Attributes, IN CHAR16 *Description, IN EFI_DEVICE_PATH_PROTOCOL *FilePath, IN UINT8 *OptionalData, IN UINT32 OptionalDataSize)
VOID EFIAPI EfiBootManagerDisconnectAll(VOID)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI EfiBootManagerGetGopDevicePath(IN EFI_HANDLE VideoController)
EFI_BOOT_MANAGER_DRIVER_HEALTH_INFO *EFIAPI EfiBootManagerGetDriverHealthInfo(UINTN *Count)
EFI_STATUS EFIAPI EfiBootManagerProcessLoadOption(EFI_BOOT_MANAGER_LOAD_OPTION *LoadOption)
EFI_STATUS EFIAPI EfiBootManagerAddKeyOptionVariable(OUT EFI_BOOT_MANAGER_KEY_OPTION *AddedOption OPTIONAL, IN UINT16 BootOptionNumber, IN UINT32 Modifier,...)
EFI_HANDLE DriverHealthHandle
EFI_DRIVER_HEALTH_STATUS HealthStatus
EFI_DRIVER_HEALTH_HII_MESSAGE * MessageList
EFI_BOOT_KEY_DATA KeyData