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>
This commit is contained in:
Angel Pons 2020-08-28 01:55:56 +02:00 committed by Michael Niewöhner
parent 99b2f30bd0
commit 7fdd1faf2d
1 changed files with 8 additions and 0 deletions

View File

@ -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