Revert "efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption"
This reverts commit 206b7d66a4
.
This commit is contained in:
parent
e998f5437f
commit
fb180ce57e
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ void efi_retrieve_tpm2_eventlog(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Allocate space for the logs and copy them. */
|
/* 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);
|
sizeof(*log_tbl) + log_size, (void **)&log_tbl);
|
||||||
|
|
||||||
if (status != EFI_SUCCESS) {
|
if (status != EFI_SUCCESS) {
|
||||||
|
|
Loading…
Reference in a new issue