mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
efi_loader: let the variable driver patch out the runtime
Our variable services are only provided at boottime. Therefore when leaving boottime the variable function are replaced by dummy functions returning EFI_UNSUPPORTED. Move this patching of the runtime table to the variable services implementation. Executed it in ExitBootServices(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
@@ -1968,7 +1968,8 @@ static efi_status_t EFIAPI efi_exit_boot_services(efi_handle_t image_handle,
|
||||
/* Make sure that notification functions are not called anymore */
|
||||
efi_tpl = TPL_HIGH_LEVEL;
|
||||
|
||||
/* TODO: Should persist EFI variables here */
|
||||
/* Notify variable services */
|
||||
efi_variables_boot_exit_notify();
|
||||
|
||||
board_quiesce_devices();
|
||||
|
||||
|
Reference in New Issue
Block a user