#ifndef __TPM_EVENTLOG_COMMON_H__ #define __TPM_EVENTLOG_COMMON_H__ #include "../tpm.h" extern const struct seq_operations tpm1_ascii_b_measurements_seqops; extern const struct seq_operations tpm1_binary_b_measurements_seqops; extern const struct seq_operations tpm2_binary_b_measurements_seqops; #if defined([31mCONFIG_ACPI[0m) int tpm_read_log_acpi(struct tpm_chip *chip); #else static inline int tpm_read_log_acpi(struct tpm_chip *chip) { return -ENODEV; } #endif #if defined([31mCONFIG_OF[0m) int tpm_read_log_of(struct tpm_chip *chip); #else static inline int tpm_read_log_of(struct tpm_chip *chip) { return -ENODEV; } #endif #if defined([31mCONFIG_EFI[0m) int tpm_read_log_efi(struct tpm_chip *chip); #else static inline int tpm_read_log_efi(struct tpm_chip *chip) { return -ENODEV; } #endif #endif |