mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
efi_loader: populate console handles in system table
The fields ConsoleInHandle, ConsoleOutHandle, ConsoleErrHandle must point to the handles with the respective console protocols. Failure to do so leads to an error in the EFI Shell: No SimpleTextInputEx was found. CTRL-based features are not usable. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
93cdb95238
commit
60bba6e205
1 changed files with 3 additions and 0 deletions
|
@ -3956,8 +3956,11 @@ efi_status_t efi_initialize_system_table(void)
|
||||||
* These entries will be set to NULL in ExitBootServices(). To avoid
|
* These entries will be set to NULL in ExitBootServices(). To avoid
|
||||||
* relocation in SetVirtualAddressMap(), set them dynamically.
|
* relocation in SetVirtualAddressMap(), set them dynamically.
|
||||||
*/
|
*/
|
||||||
|
systab.con_in_handle = efi_root;
|
||||||
systab.con_in = &efi_con_in;
|
systab.con_in = &efi_con_in;
|
||||||
|
systab.con_out_handle = efi_root;
|
||||||
systab.con_out = &efi_con_out;
|
systab.con_out = &efi_con_out;
|
||||||
|
systab.stderr_handle = efi_root;
|
||||||
systab.std_err = &efi_con_out;
|
systab.std_err = &efi_con_out;
|
||||||
systab.boottime = &efi_boot_services;
|
systab.boottime = &efi_boot_services;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue