mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +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:
@@ -408,15 +408,6 @@ static const struct efi_runtime_detach_list_struct efi_runtime_detach_list[] = {
|
||||
}, {
|
||||
.ptr = &efi_runtime_services.set_time,
|
||||
.patchto = &efi_set_time,
|
||||
}, {
|
||||
.ptr = &efi_runtime_services.get_variable,
|
||||
.patchto = &efi_device_error,
|
||||
}, {
|
||||
.ptr = &efi_runtime_services.get_next_variable_name,
|
||||
.patchto = &efi_device_error,
|
||||
}, {
|
||||
.ptr = &efi_runtime_services.set_variable,
|
||||
.patchto = &efi_device_error,
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user