mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
efi_loader: specify UEFI spec revision
Both in the boot and the runtime services tables we have to specify the UEFI spec revision. The same value is already used for the system table. So let's use a common constant. In the boot services table we have to provide the header signature. 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:
parent
e67ff94ded
commit
112f243016
3 changed files with 8 additions and 3 deletions
|
@ -459,7 +459,7 @@ efi_status_t __efi_runtime EFIAPI efi_query_variable_info(
|
|||
struct efi_runtime_services __efi_runtime_data efi_runtime_services = {
|
||||
.hdr = {
|
||||
.signature = EFI_RUNTIME_SERVICES_SIGNATURE,
|
||||
.revision = EFI_RUNTIME_SERVICES_REVISION,
|
||||
.revision = EFI_SPECIFICATION_VERSION,
|
||||
.headersize = sizeof(struct efi_table_hdr),
|
||||
},
|
||||
.get_time = &efi_get_time_boottime,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue