Revert "efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption"

This reverts commit 206b7d66a4.
This commit is contained in:
Ksawlii 2024-11-24 00:23:16 +01:00
parent e998f5437f
commit fb180ce57e

View file

@ -115,7 +115,7 @@ void efi_retrieve_tpm2_eventlog(void)
}
/* Allocate space for the logs and copy them. */
status = efi_bs_call(allocate_pool, EFI_ACPI_RECLAIM_MEMORY,
status = efi_bs_call(allocate_pool, EFI_LOADER_DATA,
sizeof(*log_tbl) + log_size, (void **)&log_tbl);
if (status != EFI_SUCCESS) {