mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
efi_loader: correct headersize EFI tables
The headersize field has to be set to the size of the whole table including the header. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
committed by
Alexander Graf
parent
bdfb894a3e
commit
71c846ab84
@@ -460,7 +460,7 @@ struct efi_runtime_services __efi_runtime_data efi_runtime_services = {
|
||||
.hdr = {
|
||||
.signature = EFI_RUNTIME_SERVICES_SIGNATURE,
|
||||
.revision = EFI_SPECIFICATION_VERSION,
|
||||
.headersize = sizeof(struct efi_table_hdr),
|
||||
.headersize = sizeof(struct efi_runtime_services),
|
||||
},
|
||||
.get_time = &efi_get_time_boottime,
|
||||
.set_time = (void *)&efi_device_error,
|
||||
|
Reference in New Issue
Block a user