From cfab6da8a7d3e9d825ea284a0ebbf6579e204f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 10 Oct 2017 00:55:48 +0200 Subject: tpm: move TPMSizedBuffer to tpm_tis.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Close to where it's being used. Signed-off-by: Marc-André Lureau Reviewed-by: Stefan Berger Signed-off-by: Stefan Berger --- hw/tpm/tpm_tis.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hw') diff --git a/hw/tpm/tpm_tis.h b/hw/tpm/tpm_tis.h index a1df41f..31e612a 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; -- cgit v1.1