Expose BlEnterFirmwareSetup() routine via XTLDR protocol
This commit is contained in:
parent
e263effe13
commit
3cd55260e6
@ -64,6 +64,7 @@ typedef VOID (*PBL_CONSOLE_SET_CURSOR_POSITION)(IN ULONGLONG PosX, IN ULONGLONG
|
|||||||
typedef VOID (*PBL_CONSOLE_WRITE)(IN PUSHORT String);
|
typedef VOID (*PBL_CONSOLE_WRITE)(IN PUSHORT String);
|
||||||
typedef VOID (XTAPI *PBL_COPY_MEMORY)(OUT PVOID Destination, IN PCVOID Source, IN SIZE_T Length);
|
typedef VOID (XTAPI *PBL_COPY_MEMORY)(OUT PVOID Destination, IN PCVOID Source, IN SIZE_T Length);
|
||||||
typedef VOID (*PBL_DEBUG_PRINT)(IN PUSHORT Format, IN ...);
|
typedef VOID (*PBL_DEBUG_PRINT)(IN PUSHORT Format, IN ...);
|
||||||
|
typedef EFI_STATUS (*PBL_ENTER_FIRMWARE_SETUP)();
|
||||||
typedef EFI_STATUS (*PBL_EXIT_BOOT_SERVICES)();
|
typedef EFI_STATUS (*PBL_EXIT_BOOT_SERVICES)();
|
||||||
typedef EFI_STATUS (*PBL_FIND_BOOT_PROTOCOL)(IN PWCHAR SystemType, OUT PEFI_GUID BootProtocolGuid);
|
typedef EFI_STATUS (*PBL_FIND_BOOT_PROTOCOL)(IN PWCHAR SystemType, OUT PEFI_GUID BootProtocolGuid);
|
||||||
typedef EFI_STATUS (*PBL_FREE_PAGES)(IN ULONGLONG Size, IN EFI_PHYSICAL_ADDRESS Memory);
|
typedef EFI_STATUS (*PBL_FREE_PAGES)(IN ULONGLONG Size, IN EFI_PHYSICAL_ADDRESS Memory);
|
||||||
@ -415,6 +416,7 @@ typedef struct _XTBL_LOADER_PROTOCOL
|
|||||||
} Tui;
|
} Tui;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
|
PBL_ENTER_FIRMWARE_SETUP EnterFirmwareSetup;
|
||||||
PBL_EXIT_BOOT_SERVICES ExitBootServices;
|
PBL_EXIT_BOOT_SERVICES ExitBootServices;
|
||||||
PBL_GET_CONFIGURATION_TABLE GetConfigurationTable;
|
PBL_GET_CONFIGURATION_TABLE GetConfigurationTable;
|
||||||
PBL_GET_EFI_VARIABLE GetEfiVariable;
|
PBL_GET_EFI_VARIABLE GetEfiVariable;
|
||||||
|
@ -918,6 +918,7 @@ BlpInstallXtLoaderProtocol()
|
|||||||
BlpLdrProtocol.Tui.DisplayInputDialog = BlDisplayInputDialog;
|
BlpLdrProtocol.Tui.DisplayInputDialog = BlDisplayInputDialog;
|
||||||
BlpLdrProtocol.Tui.DisplayProgressDialog = BlDisplayProgressDialog;
|
BlpLdrProtocol.Tui.DisplayProgressDialog = BlDisplayProgressDialog;
|
||||||
BlpLdrProtocol.Tui.UpdateProgressBar = BlUpdateProgressBar;
|
BlpLdrProtocol.Tui.UpdateProgressBar = BlUpdateProgressBar;
|
||||||
|
BlpLdrProtocol.Util.EnterFirmwareSetup = BlEnterFirmwareSetup;
|
||||||
BlpLdrProtocol.Util.ExitBootServices = BlExitBootServices;
|
BlpLdrProtocol.Util.ExitBootServices = BlExitBootServices;
|
||||||
BlpLdrProtocol.Util.GetConfigurationTable = BlGetConfigurationTable;
|
BlpLdrProtocol.Util.GetConfigurationTable = BlGetConfigurationTable;
|
||||||
BlpLdrProtocol.Util.GetEfiVariable = BlGetEfiVariable;
|
BlpLdrProtocol.Util.GetEfiVariable = BlGetEfiVariable;
|
||||||
|
Loading…
Reference in New Issue
Block a user