Prototype fixing for (*hash_log_extend_event)

According to the section 6.6.1 'Prototype' in 'TCG EFI Protocol Spec',
the 3rd parameter of the (*hash_log_extend_event) should be
'EFI_PHYSICAL_ADDRESS' which is 'grub_efi_physical_address_t' in the
real implementation. So this patch drop the pointer mark '*' from this
prototype.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
This commit is contained in:
Dennis Chen 2017-11-08 09:13:00 +00:00
parent 6782f6d431
commit c3bd5d1b36

View file

@ -129,7 +129,7 @@ struct grub_efi_tpm2_protocol
grub_efi_boolean_t *EventLogTruncated); grub_efi_boolean_t *EventLogTruncated);
grub_efi_status_t (*hash_log_extend_event) (struct grub_efi_tpm2_protocol *this, grub_efi_status_t (*hash_log_extend_event) (struct grub_efi_tpm2_protocol *this,
grub_efi_uint64_t Flags, grub_efi_uint64_t Flags,
grub_efi_physical_address_t *DataToHash, grub_efi_physical_address_t DataToHash,
grub_efi_uint64_t DataToHashLen, grub_efi_uint64_t DataToHashLen,
EFI_TCG2_EVENT *EfiTcgEvent); EFI_TCG2_EVENT *EfiTcgEvent);
grub_efi_status_t (*submit_command) (struct grub_efi_tpm2_protocol *this, grub_efi_status_t (*submit_command) (struct grub_efi_tpm2_protocol *this,