mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
efi_loader: move efi_query_variable_info()
Let's keep similar things together. Move efi_query_variable_info() to lib/efi_loader/efi_variable.c Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
359a699a12
commit
ce43528d6a
3 changed files with 32 additions and 27 deletions
|
@ -618,6 +618,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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue