// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2017 Google, Inc. * Thiebaud Weksteen <[email protected]> */ #define TPM_MEMREMAP(start, size) … #define TPM_MEMUNMAP(start, size) … #include <asm/early_ioremap.h> #include <linux/efi.h> #include <linux/init.h> #include <linux/memblock.h> #include <linux/tpm_eventlog.h> int efi_tpm_final_log_size; EXPORT_SYMBOL(…); static int __init tpm2_calc_event_log_size(void *data, int count, void *size_info) { … } /* * Reserve the memory associated with the TPM Event Log configuration table. */ int __init efi_tpm_eventlog_init(void) { … }