diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-10-05 14:36:03 (GMT) |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-10-09 05:00:34 (GMT) |
commit | 8db174d651e3f92ddb9660f1f8b8755b902c3c11 (patch) | |
tree | 5bbe48664654c051a1f596779fc78c1be33b668c /include | |
parent | 891b3d9051690d0ba39da4eda1d15773ebfee2b6 (diff) | |
download | u-boot-8db174d651e3f92ddb9660f1f8b8755b902c3c11.tar.xz |
efi_loader: size fields in SimpleNetworkProtocol
The size fields in the Simple Network Protocol are all
UINTN in the UEFI spec. So use size_t.
Provide a function description of the receive function.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/efi_api.h b/include/efi_api.h index 1f349db..a9a6494 100644 --- a/include/efi_api.h +++ b/include/efi_api.h @@ -636,11 +636,11 @@ struct efi_simple_network efi_status_t (EFIAPI *get_status)(struct efi_simple_network *this, u32 *int_status, void **txbuf); efi_status_t (EFIAPI *transmit)(struct efi_simple_network *this, - ulong header_size, ulong buffer_size, void *buffer, + size_t header_size, size_t buffer_size, void *buffer, struct efi_mac_address *src_addr, struct efi_mac_address *dest_addr, u16 *protocol); efi_status_t (EFIAPI *receive)(struct efi_simple_network *this, - ulong *header_size, ulong *buffer_size, void *buffer, + size_t *header_size, size_t *buffer_size, void *buffer, struct efi_mac_address *src_addr, struct efi_mac_address *dest_addr, u16 *protocol); struct efi_event *wait_for_packet; |