mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
efi_loader: remove NULL entries from runtime detach list
Some entries in the system table are set to NULL in ExitBootServices(). We had them in the runtime detach list to avoid relocation of NULL. Let's instead assign the pointers dynamically in efi_initialize_system_table() to avoid the relocation entry. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
88192098d1
commit
93148eba77
2 changed files with 9 additions and 20 deletions
|
@ -408,22 +408,6 @@ static const struct efi_runtime_detach_list_struct efi_runtime_detach_list[] = {
|
|||
}, {
|
||||
.ptr = &efi_runtime_services.set_time,
|
||||
.patchto = &efi_set_time,
|
||||
}, {
|
||||
/* Clean up system table */
|
||||
.ptr = &systab.con_in,
|
||||
.patchto = NULL,
|
||||
}, {
|
||||
/* Clean up system table */
|
||||
.ptr = &systab.con_out,
|
||||
.patchto = NULL,
|
||||
}, {
|
||||
/* Clean up system table */
|
||||
.ptr = &systab.std_err,
|
||||
.patchto = NULL,
|
||||
}, {
|
||||
/* Clean up system table */
|
||||
.ptr = &systab.boottime,
|
||||
.patchto = NULL,
|
||||
}, {
|
||||
.ptr = &efi_runtime_services.get_variable,
|
||||
.patchto = &efi_device_error,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue