summary refs log tree commit diff stats
path: root/hw/tpm/tpm_tis.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/tpm/tpm_tis.h')
-rw-r--r--hw/tpm/tpm_tis.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/tpm/tpm_tis.h b/hw/tpm/tpm_tis.h
index a1df41fa21..31e612a7f4 100644
--- a/hw/tpm/tpm_tis.h
+++ b/hw/tpm/tpm_tis.h
@@ -37,6 +37,11 @@ typedef enum {
     TPM_TIS_STATE_RECEPTION,
 } TPMTISState;
 
+typedef struct TPMSizedBuffer {
+    uint32_t size;
+    uint8_t  *buffer;
+} TPMSizedBuffer;
+
 /* locality data  -- all fields are persisted */
 typedef struct TPMLocality {
     TPMTISState state;