mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
efi_loader: adjust definitions of variable services
The definitons of the variable services are adjusted: - use efi_uintn_t instead of unsigned long - use u16 * instead of s16 * for Unicode strings - correct definition of QueryVariableInfo - rename efi_get_next_variable to efi_get_next_variable_name Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
e37aa7ada3
commit
45c66f9cdf
5 changed files with 43 additions and 43 deletions
|
@ -212,7 +212,7 @@ static const struct efi_runtime_detach_list_struct efi_runtime_detach_list[] = {
|
|||
.ptr = &efi_runtime_services.get_variable,
|
||||
.patchto = &efi_device_error,
|
||||
}, {
|
||||
.ptr = &efi_runtime_services.get_next_variable,
|
||||
.ptr = &efi_runtime_services.get_next_variable_name,
|
||||
.patchto = &efi_device_error,
|
||||
}, {
|
||||
.ptr = &efi_runtime_services.set_variable,
|
||||
|
@ -444,9 +444,9 @@ efi_status_t __efi_runtime EFIAPI efi_query_capsule_caps(
|
|||
|
||||
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)
|
||||
u64 *maximum_variable_storage_size,
|
||||
u64 *remaining_variable_storage_size,
|
||||
u64 *maximum_variable_size)
|
||||
{
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
@ -464,7 +464,7 @@ struct efi_runtime_services __efi_runtime_data efi_runtime_services = {
|
|||
.set_virtual_address_map = &efi_set_virtual_address_map,
|
||||
.convert_pointer = (void *)&efi_invalid_parameter,
|
||||
.get_variable = efi_get_variable,
|
||||
.get_next_variable = efi_get_next_variable,
|
||||
.get_next_variable_name = efi_get_next_variable_name,
|
||||
.set_variable = efi_set_variable,
|
||||
.get_next_high_mono_count = (void *)&efi_device_error,
|
||||
.reset_system = &efi_reset_system_boottime,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue