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
|
@ -520,3 +520,30 @@ out:
|
|||
|
||||
return EFI_EXIT(ret);
|
||||
}
|
||||
|
||||
/**
|
||||
* efi_query_variable_info() - get information about EFI variables
|
||||
*
|
||||
* This function implements the QueryVariableInfo() runtime service.
|
||||
*
|
||||
* See the Unified Extensible Firmware Interface (UEFI) specification for
|
||||
* details.
|
||||
*
|
||||
* @attributes: bitmask to select variables to be
|
||||
* queried
|
||||
* @maximum_variable_storage_size: maximum size of storage area for the
|
||||
* selected variable types
|
||||
* @remaining_variable_storage_size: remaining size of storage are for the
|
||||
* selected variable types
|
||||
* @maximum_variable_size: maximum size of a variable of the
|
||||
* selected type
|
||||
* Returns: status code
|
||||
*/
|
||||
efi_status_t __efi_runtime EFIAPI efi_query_variable_info(
|
||||
u32 attributes,
|
||||
u64 *maximum_variable_storage_size,
|
||||
u64 *remaining_variable_storage_size,
|
||||
u64 *maximum_variable_size)
|
||||
{
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue