diff options
author | Tom Rini <trini@konsulko.com> | 2019-07-08 16:02:51 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-08 16:02:51 -0400 |
commit | cad28d37d5146cf293fe841c7c8e6f658c8a4940 (patch) | |
tree | 1181bd0941a69e8b690fa62d1eeaee2bbee90488 /include/efi_loader.h | |
parent | 0b7f1a95df8fe312ff8f1f548f51e6d656e8e67e (diff) | |
parent | 7f95104d91ccfb26f802feb5300838b41bc5fbb1 (diff) |
Merge tag 'efi-2019-10-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for v2019.10-rc1
Fix a possible overflow for GUID partition tables.
For some runtime services we only have implementations valid at boottime.
So we replace them when leaving boottime. Move this from
SetVirtualAddressMap() to ExitBootServices() as SetVirtualAddressMap() is
not called by all operating systems. Adjust the Python tests accordingly.
Bump the supported UEFI specification version to 2.8.
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r-- | include/efi_loader.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index b07155cecb7..db4763fc9b7 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -325,10 +325,16 @@ extern struct list_head efi_register_notify_events; /* Initialize efi execution environment */ efi_status_t efi_init_obj_list(void); +/* Initialize variable services */ +efi_status_t efi_init_variables(void); +/* Notify ExitBootServices() is called */ +void efi_variables_boot_exit_notify(void); /* Called by bootefi to initialize root node */ efi_status_t efi_root_node_register(void); /* Called by bootefi to initialize runtime */ efi_status_t efi_initialize_system_table(void); +/* efi_runtime_detach() - detach unimplemented runtime functions */ +void efi_runtime_detach(void); /* Called by bootefi to make console interface available */ efi_status_t efi_console_register(void); /* Called by bootefi to make all disk storage accessible as EFI objects */ @@ -618,6 +624,11 @@ efi_status_t EFIAPI efi_set_variable(u16 *variable_name, const efi_guid_t *vendor, u32 attributes, efi_uintn_t data_size, const void *data); +efi_status_t EFIAPI efi_query_variable_info( + u32 attributes, u64 *maximum_variable_storage_size, + u64 *remaining_variable_storage_size, + u64 *maximum_variable_size); + /* * See section 3.1.3 in the v2.7 UEFI spec for more details on * the layout of EFI_LOAD_OPTION. In short it is: |