summary refs log tree commit diff stats
path: root/hw/arm/virt.c
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2020-03-05 17:51:41 +0100
committerStefan Berger <stefanb@linux.vnet.ibm.com>2020-03-05 12:17:43 -0500
commitca75c421731d59b4a4b64d094cf2c747896c6922 (patch)
treeeaa44a263e0542c62e446d9fd65af9afa6bb52d2 /hw/arm/virt.c
parent43bc7f84e14083eda3959127a2346c0f7e31a7ae (diff)
downloadfocaccia-qemu-ca75c421731d59b4a4b64d094cf2c747896c6922.tar.gz
focaccia-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 'hw/arm/virt.c')
0 files changed, 0 insertions, 0 deletions