mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 00:11:48 +02: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:
committed by
Alexander Graf
parent
e37aa7ada3
commit
45c66f9cdf
@@ -422,15 +422,15 @@ efi_status_t EFIAPI efi_selftest(efi_handle_t image_handle,
|
||||
struct efi_system_table *systab);
|
||||
#endif
|
||||
|
||||
efi_status_t EFIAPI efi_get_variable(s16 *variable_name,
|
||||
efi_guid_t *vendor, u32 *attributes,
|
||||
unsigned long *data_size, void *data);
|
||||
efi_status_t EFIAPI efi_get_next_variable(
|
||||
unsigned long *variable_name_size,
|
||||
s16 *variable_name, efi_guid_t *vendor);
|
||||
efi_status_t EFIAPI efi_set_variable(s16 *variable_name,
|
||||
efi_guid_t *vendor, u32 attributes,
|
||||
unsigned long data_size, void *data);
|
||||
efi_status_t EFIAPI efi_get_variable(u16 *variable_name, efi_guid_t *vendor,
|
||||
u32 *attributes, efi_uintn_t *data_size,
|
||||
void *data);
|
||||
efi_status_t EFIAPI efi_get_next_variable_name(efi_uintn_t *variable_name_size,
|
||||
u16 *variable_name,
|
||||
efi_guid_t *vendor);
|
||||
efi_status_t EFIAPI efi_set_variable(u16 *variable_name, efi_guid_t *vendor,
|
||||
u32 attributes, efi_uintn_t data_size,
|
||||
void *data);
|
||||
|
||||
void *efi_bootmgr_load(struct efi_device_path **device_path,
|
||||
struct efi_device_path **file_path);
|
||||
|
Reference in New Issue
Block a user