boot: use UINT32 as type for PCR indexes

Thisis what the TPM2/UEFI headers use, and most of our EFI codebase.
Let's also use the same type here in cpio.[ch]
This commit is contained in:
Lennart Poettering
2022-03-16 17:33:28 +01:00
parent c5a408ee35
commit 34604d6af7
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ EFI_STATUS pack_cpio(
const CHAR8 *target_dir_prefix,
UINT32 dir_mode,
UINT32 access_mode,
UINTN tpm_pcr,
UINT32 tpm_pcr,
const CHAR16 *tpm_description,
void **ret_buffer,
UINTN *ret_buffer_size) {
+1 -2
View File
@@ -10,8 +10,7 @@ EFI_STATUS pack_cpio(
const CHAR8 *target_dir_prefix,
UINT32 dir_mode,
UINT32 access_mode,
UINTN tpm_pcr,
UINT32 tpm_pcr,
const CHAR16 *tpm_description,
void **ret_buffer,
UINTN *ret_buffer_size);