summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Auger2020-03-05 17:51:41 +0100
committerStefan Berger2020-03-05 18:17:43 +0100
commitca75c421731d59b4a4b64d094cf2c747896c6922 (patch)
treeeaa44a263e0542c62e446d9fd65af9afa6bb52d2 /include
parenttpm: rename TPM_TIS into TPM_TIS_ISA (diff)
downloadqemu-ca75c421731d59b4a4b64d094cf2c747896c6922.tar.gz
qemu-ca75c421731d59b4a4b64d094cf2c747896c6922.tar.xz
qemu-ca75c421731d59b4a4b64d094cf2c747896c6922.zip
tpm: Use TPMState as a common struct
As we plan to introduce a SysBus TPM TIS device, let's make the TPMState a common struct usable by both the ISADevice and the SysBusDevice. TPMStateISA embeds the struct and inherits from the ISADevice. The prototype of functions bound to be used by both the ISA and SysBus devices is changed to take TPMState handle. A bunch of structs also are renamed to be specialized for the ISA device. Besides those transformations, no functional change is expected. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Message-id: 20200305165149.618-3-eric.auger@redhat.com Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions