aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2015-02-23 09:27:16 -0500
committerMichael S. Tsirkin <mst@redhat.com>2015-03-01 12:33:20 +0100
commit9fdc694635ebf275763aa2eee721f69e556fba5e (patch)
tree314bba8bbd8ff634047b9a87db86f250b9789769
parenta6027b0f4bb4d8c8f14ac5fd8cbf05f5f7c6a503 (diff)
downloadqemu-9fdc694635ebf275763aa2eee721f69e556fba5e.zip
qemu-9fdc694635ebf275763aa2eee721f69e556fba5e.tar.gz
qemu-9fdc694635ebf275763aa2eee721f69e556fba5e.tar.bz2
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 <stefanb@linux.vnet.ibm.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--hw/tpm/tpm_tis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tpm/tpm_tis.h b/hw/tpm/tpm_tis.h
index 1a0db23..db78d51 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;