tpm: Extend sts register to 32 bit
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Mon, 23 Feb 2015 14:27:16 +0000 (09:27 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 1 Mar 2015 11:33:20 +0000 (12:33 +0100)
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>
hw/tpm/tpm_tis.h

index 1a0db23..db78d51 100644 (file)
@@ -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;