From: Stefan Berger Date: Mon, 23 Feb 2015 14:27:16 +0000 (-0500) Subject: tpm: Extend sts register to 32 bit X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9fdc694635ebf275763aa2eee721f69e556fba5e;p=qemu.git tpm: Extend sts register to 32 bit More recent TIS specs extend the STS register to 32 bit. While we don't store the TIS interface state, yet, we can extend it without sideeffects. Signed-off-by: Stefan Berger Acked-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/tpm/tpm_tis.h b/hw/tpm/tpm_tis.h index 1a0db23367..db78d51e4f 100644 --- a/hw/tpm/tpm_tis.h +++ b/hw/tpm/tpm_tis.h @@ -41,7 +41,7 @@ typedef enum { typedef struct TPMLocality { TPMTISState state; uint8_t access; - uint8_t sts; + uint32_t sts; uint32_t inte; uint32_t ints;