mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
arm/acpi: TPM2 ACPI table support
Add a TPM2 ACPI table if a TPM2.0 sysbus device has been dynamically instantiated. Signed-off-by: Eric Auger <eric.auger@redhat.com> Message-Id: <20200601095737.32671-4-eric.auger@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
4338416064
commit
80bde69353
3 changed files with 12 additions and 2 deletions
|
@ -50,6 +50,8 @@ typedef struct TPMIfClass {
|
|||
|
||||
#define TPM_IS_TIS_ISA(chr) \
|
||||
object_dynamic_cast(OBJECT(chr), TYPE_TPM_TIS_ISA)
|
||||
#define TPM_IS_TIS_SYSBUS(chr) \
|
||||
object_dynamic_cast(OBJECT(chr), TYPE_TPM_TIS_SYSBUS)
|
||||
#define TPM_IS_CRB(chr) \
|
||||
object_dynamic_cast(OBJECT(chr), TYPE_TPM_CRB)
|
||||
#define TPM_IS_SPAPR(chr) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue