From 7fdd1faf2dc767d15eeefee84322b19c15c9683d Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 28 Aug 2020 01:55:56 +0200 Subject: [PATCH] security/intel/txt: Add missing definitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3ca585429df318c31c2ffd484ec91a7971f18f27 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/44882 Reviewed-by: Michael Niewöhner Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/security/intel/txt/txt_register.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/security/intel/txt/txt_register.h b/src/security/intel/txt/txt_register.h index 70bb309f15..688221f395 100644 --- a/src/security/intel/txt/txt_register.h +++ b/src/security/intel/txt/txt_register.h @@ -121,6 +121,7 @@ #define TXT_RESERVED_SPACE_SIZE 0x3ffff /* ESI flags for GETSEC[ENTERACCS] see Reference Number: 323372-017 */ +#define ACMINPUT_SCLEAN 0 #define ACMINPUT_RESET_TPM_AUXILIARY_INDICIES 2 #define ACMINPUT_NOP 3 #define ACMINPUT_SCHECK 4 @@ -231,6 +232,13 @@ struct __packed txt_extended_data_element_header { #define HEAP_EXTDATA_TYPE_ACM 2 #define HEAP_EXTDATA_TYPE_CUSTOM 4 +struct __packed txt_bios_spec_ver_element { + struct txt_extended_data_element_header header; + uint16_t ver_major; + uint16_t ver_minor; + uint16_t ver_revision; +}; + struct __packed txt_heap_acm_element { struct txt_extended_data_element_header header; uint32_t num_acms; // must greater 0, smaller than 3