mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
efi_loader: print GUIDs
Utilize printf GUID support to print GUIDs. Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
4657a3f1ac
commit
778e6af8a6
2 changed files with 14 additions and 14 deletions
|
@ -565,7 +565,7 @@ static efi_status_t EFIAPI efi_install_protocol_interface_ext(void **handle,
|
|||
efi_guid_t *protocol, int protocol_interface_type,
|
||||
void *protocol_interface)
|
||||
{
|
||||
EFI_ENTRY("%p, %p, %d, %p", handle, protocol, protocol_interface_type,
|
||||
EFI_ENTRY("%p, %pUl, %d, %p", handle, protocol, protocol_interface_type,
|
||||
protocol_interface);
|
||||
|
||||
return EFI_EXIT(efi_install_protocol_interface(handle, protocol,
|
||||
|
@ -577,7 +577,7 @@ static efi_status_t EFIAPI efi_reinstall_protocol_interface(void *handle,
|
|||
efi_guid_t *protocol, void *old_interface,
|
||||
void *new_interface)
|
||||
{
|
||||
EFI_ENTRY("%p, %p, %p, %p", handle, protocol, old_interface,
|
||||
EFI_ENTRY("%p, %pUl, %p, %p", handle, protocol, old_interface,
|
||||
new_interface);
|
||||
return EFI_EXIT(EFI_ACCESS_DENIED);
|
||||
}
|
||||
|
@ -626,7 +626,7 @@ out:
|
|||
static efi_status_t EFIAPI efi_uninstall_protocol_interface_ext(void *handle,
|
||||
efi_guid_t *protocol, void *protocol_interface)
|
||||
{
|
||||
EFI_ENTRY("%p, %p, %p", handle, protocol, protocol_interface);
|
||||
EFI_ENTRY("%p, %pUl, %p", handle, protocol, protocol_interface);
|
||||
|
||||
return EFI_EXIT(efi_uninstall_protocol_interface(handle, protocol,
|
||||
protocol_interface));
|
||||
|
@ -636,7 +636,7 @@ static efi_status_t EFIAPI efi_register_protocol_notify(efi_guid_t *protocol,
|
|||
struct efi_event *event,
|
||||
void **registration)
|
||||
{
|
||||
EFI_ENTRY("%p, %p, %p", protocol, event, registration);
|
||||
EFI_ENTRY("%pUl, %p, %p", protocol, event, registration);
|
||||
return EFI_EXIT(EFI_OUT_OF_RESOURCES);
|
||||
}
|
||||
|
||||
|
@ -706,7 +706,7 @@ static efi_status_t EFIAPI efi_locate_handle_ext(
|
|||
efi_guid_t *protocol, void *search_key,
|
||||
unsigned long *buffer_size, efi_handle_t *buffer)
|
||||
{
|
||||
EFI_ENTRY("%d, %p, %p, %p, %p", search_type, protocol, search_key,
|
||||
EFI_ENTRY("%d, %pUl, %p, %p, %p", search_type, protocol, search_key,
|
||||
buffer_size, buffer);
|
||||
|
||||
return EFI_EXIT(efi_locate_handle(search_type, protocol, search_key,
|
||||
|
@ -774,7 +774,7 @@ efi_status_t efi_install_configuration_table(const efi_guid_t *guid, void *table
|
|||
static efi_status_t EFIAPI efi_install_configuration_table_ext(efi_guid_t *guid,
|
||||
void *table)
|
||||
{
|
||||
EFI_ENTRY("%p, %p", guid, table);
|
||||
EFI_ENTRY("%pUl, %p", guid, table);
|
||||
return EFI_EXIT(efi_install_configuration_table(guid, table));
|
||||
}
|
||||
|
||||
|
@ -1083,7 +1083,7 @@ static efi_status_t EFIAPI efi_close_protocol(void *handle,
|
|||
void *agent_handle,
|
||||
void *controller_handle)
|
||||
{
|
||||
EFI_ENTRY("%p, %p, %p, %p", handle, protocol, agent_handle,
|
||||
EFI_ENTRY("%p, %pUl, %p, %p", handle, protocol, agent_handle,
|
||||
controller_handle);
|
||||
return EFI_EXIT(EFI_NOT_FOUND);
|
||||
}
|
||||
|
@ -1093,7 +1093,7 @@ static efi_status_t EFIAPI efi_open_protocol_information(efi_handle_t handle,
|
|||
struct efi_open_protocol_info_entry **entry_buffer,
|
||||
unsigned long *entry_count)
|
||||
{
|
||||
EFI_ENTRY("%p, %p, %p, %p", handle, protocol, entry_buffer,
|
||||
EFI_ENTRY("%p, %pUl, %p, %p", handle, protocol, entry_buffer,
|
||||
entry_count);
|
||||
return EFI_EXIT(EFI_NOT_FOUND);
|
||||
}
|
||||
|
@ -1159,7 +1159,7 @@ static efi_status_t EFIAPI efi_locate_handle_buffer(
|
|||
efi_status_t r;
|
||||
unsigned long buffer_size = 0;
|
||||
|
||||
EFI_ENTRY("%d, %p, %p, %p, %p", search_type, protocol, search_key,
|
||||
EFI_ENTRY("%d, %pUl, %p, %p, %p", search_type, protocol, search_key,
|
||||
no_handles, buffer);
|
||||
|
||||
if (!no_handles || !buffer) {
|
||||
|
@ -1191,7 +1191,7 @@ static efi_status_t EFIAPI efi_locate_protocol(efi_guid_t *protocol,
|
|||
struct list_head *lhandle;
|
||||
int i;
|
||||
|
||||
EFI_ENTRY("%p, %p, %p", protocol, registration, protocol_interface);
|
||||
EFI_ENTRY("%pUl, %p, %p", protocol, registration, protocol_interface);
|
||||
|
||||
if (!protocol || !protocol_interface)
|
||||
return EFI_EXIT(EFI_INVALID_PARAMETER);
|
||||
|
@ -1301,7 +1301,7 @@ static efi_status_t EFIAPI efi_open_protocol(
|
|||
int i;
|
||||
efi_status_t r = EFI_INVALID_PARAMETER;
|
||||
|
||||
EFI_ENTRY("%p, %p, %p, %p, %p, 0x%x", handle, protocol,
|
||||
EFI_ENTRY("%p, %pUl, %p, %p, %p, 0x%x", handle, protocol,
|
||||
protocol_interface, agent_handle, controller_handle,
|
||||
attributes);
|
||||
|
||||
|
|
|
@ -187,7 +187,7 @@ efi_status_t EFIAPI efi_get_variable(s16 *variable_name,
|
|||
const char *val, *s;
|
||||
u32 attr;
|
||||
|
||||
EFI_ENTRY("%p %p %p %p %p", variable_name, vendor, attributes,
|
||||
EFI_ENTRY("\"%ls\" %pUl %p %p %p", variable_name, vendor, attributes,
|
||||
data_size, data);
|
||||
|
||||
if (!variable_name || !vendor || !data_size)
|
||||
|
@ -255,7 +255,7 @@ efi_status_t EFIAPI efi_get_next_variable(
|
|||
unsigned long *variable_name_size,
|
||||
s16 *variable_name, efi_guid_t *vendor)
|
||||
{
|
||||
EFI_ENTRY("%p %p %p", variable_name_size, variable_name, vendor);
|
||||
EFI_ENTRY("%p \"%ls\" %pUl", variable_name_size, variable_name, vendor);
|
||||
|
||||
return EFI_EXIT(EFI_DEVICE_ERROR);
|
||||
}
|
||||
|
@ -270,7 +270,7 @@ efi_status_t EFIAPI efi_set_variable(s16 *variable_name,
|
|||
char *val, *s;
|
||||
u32 attr;
|
||||
|
||||
EFI_ENTRY("%p %p %x %lu %p", variable_name, vendor, attributes,
|
||||
EFI_ENTRY("\"%ls\" %pUl %x %lu %p", variable_name, vendor, attributes,
|
||||
data_size, data);
|
||||
|
||||
if (!variable_name || !vendor)
|
||||
|
|
Loading…
Add table
Reference in a new issue