tpm_tis: move r/w_offsets to TPMState
commite6b30c71f4b56784638eed475e7bdd6dc8c7764e
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 10 Nov 2017 12:37:27 +0000 (10 07:37 -0500)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 22 Dec 2017 14:01:09 +0000 (22 09:01 -0500)
tree0459f696a21bc58ba8ad1cbf3e82ac7ae5c5d998
parentc5496b9797d8dfde3ef491da67b7a1d191820ef2
tpm_tis: move r/w_offsets to TPMState

Now that we have a single buffer, we also only need a single set of
read/write offsets into that buffer. This works since only one
locality can be active.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/tpm/tpm_tis.c