diff options
Diffstat (limited to 'include/tpm_vendor_cmds.h')
-rw-r--r-- | include/tpm_vendor_cmds.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/tpm_vendor_cmds.h b/include/tpm_vendor_cmds.h index c1d3a1055e..2be888c6a3 100644 --- a/include/tpm_vendor_cmds.h +++ b/include/tpm_vendor_cmds.h @@ -170,6 +170,28 @@ enum vendor_cmd_cc { /* POP_LOG_ENTRY with a 64 bit previous timestamp in ms */ VENDOR_CC_POP_LOG_ENTRY_MS = 61, + /* + * Get/set AP RO configuration settings + * + * The message sent and received to this vendor command, + * with the exception * of SET responses, uses the + * following form: + * + * ```c + * struct __attribute__((__packed__)) command_msg { + * // Current version of the API + * uint8_t version; + * // Determines payload type, see + * // `arv_config_setting_command_e`. + * uint8_t command; + * // Type here depends on command + * struct command_data data; + * }; + * ``` + */ + VENDOR_CC_GET_AP_RO_VERIFY_SETTING = 62, + VENDOR_CC_SET_AP_RO_VERIFY_SETTING = 63, + LAST_VENDOR_COMMAND = 65535, }; |