summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-08-28 01:55:56 +0200
committerMichael Niewöhner <c0d3z3r0@review.coreboot.org>2020-08-30 19:25:55 +0000
commit7fdd1faf2dc767d15eeefee84322b19c15c9683d (patch)
treea4e5d8bcf564268dd3a35bb1e777975903ad7c75
parent99b2f30bd026bd54ad0f4294d7bbfe0dcc317270 (diff)
downloadcoreboot-7fdd1faf2dc767d15eeefee84322b19c15c9683d.tar.xz
security/intel/txt: Add missing definitions
Change-Id: I3ca585429df318c31c2ffd484ec91a7971f18f27 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44882 Reviewed-by: Michael Niewöhner Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/security/intel/txt/txt_register.h8
1 files changed, 8 insertions, 0 deletions
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