qemu/hw/tpm
Eric Auger ca75c42173 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>
2020-03-05 12:17:43 -05:00
..
Kconfig hw/ppc/Kconfig: Enable TPM_SPAPR as part of PSERIES config 2020-02-02 14:07:57 +11:00
Makefile.objs tpm_spapr: Support TPM for ppc64 using CRQ based interface 2020-02-02 14:07:57 +11:00
tpm_crb.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
tpm_emulator.c migration: Define VMSTATE_INSTANCE_ID_ANY 2020-01-20 09:10:23 +01:00
tpm_int.h tpm_emulator: Translate TPM error codes to strings 2019-07-25 11:37:10 -04:00
tpm_ioctl.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
tpm_passthrough.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
tpm_ppi.c tpm-ppi: page-align PPI RAM 2020-01-29 07:27:07 -05:00
tpm_ppi.h tpm: clear RAM when "memory overwrite" requested 2019-01-17 21:10:57 -05:00
tpm_spapr.c tpm_spapr: Support suspend and resume 2020-02-02 14:07:57 +11:00
tpm_tis.c tpm: Use TPMState as a common struct 2020-03-05 12:17:43 -05:00
tpm_util.c tpm: Move tpm_tis_show_buffer to tpm_util.c 2020-02-02 14:07:57 +11:00
tpm_util.h tpm: Move tpm_tis_show_buffer to tpm_util.c 2020-02-02 14:07:57 +11:00
trace-events tpm_spapr: Support suspend and resume 2020-02-02 14:07:57 +11:00