mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
efi_loader: correct signature of CalculateCrc32()
Use const for the buffer. We are not changing the buffer. Use efi_uintn_t where prescribed by the UEFI spec. Prefer u32 over uint32_t. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
9b30232bfc
commit
8aa8360eca
2 changed files with 7 additions and 6 deletions
|
@ -165,8 +165,9 @@ struct efi_boot_services {
|
|||
void **handle, ...);
|
||||
efi_status_t (EFIAPI *uninstall_multiple_protocol_interfaces)(
|
||||
void *handle, ...);
|
||||
efi_status_t (EFIAPI *calculate_crc32)(void *data,
|
||||
unsigned long data_size, uint32_t *crc32);
|
||||
efi_status_t (EFIAPI *calculate_crc32)(const void *data,
|
||||
efi_uintn_t data_size,
|
||||
u32 *crc32);
|
||||
void (EFIAPI *copy_mem)(void *destination, const void *source,
|
||||
size_t length);
|
||||
void (EFIAPI *set_mem)(void *buffer, size_t size, uint8_t value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue