1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

efi_loader: implement EFI_RT_PROPERTIES_TABLE

UEFI spec 2.8 errata A replaces the RuntimeServicesSupported variable
defined in UEFI spec 2.8 by the configuration table
EFI_RT_PROPERTIES_TABLE. So let's follow suit.

Cc: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Tested-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
Heinrich Schuchardt
2020-02-19 20:48:49 +01:00
parent 548ce227d3
commit 76be687288
4 changed files with 48 additions and 12 deletions

View File

@@ -228,6 +228,18 @@ struct efi_capsule_header {
#define EFI_RT_SUPPORTED_QUERY_CAPSULE_CAPABILITIES 0x1000
#define EFI_RT_SUPPORTED_QUERY_VARIABLE_INFO 0x2000
#define EFI_RT_PROPERTIES_TABLE_GUID \
EFI_GUID(0xeb66918a, 0x7eef, 0x402a, 0x84, 0x2e, \
0x93, 0x1d, 0x21, 0xc3, 0x8a, 0xe9)
#define EFI_RT_PROPERTIES_TABLE_VERSION 0x1
struct efi_rt_properties_table {
u16 version;
u16 length;
u32 runtime_services_supported;
};
struct efi_runtime_services {
struct efi_table_hdr hdr;
efi_status_t (EFIAPI *get_time)(struct efi_time *time,