TPM2 ACPI table support
Add a TPM2 ACPI table if a TPM 2 is used in the backend. Also add an SSDT for the TPM 2. Rename tpm_find() to tpm_get_version() and have this function return the version of the TPM found, TPMVersion_Unspec if no TPM is found. Use the version number to build version specific ACPI tables. Signed-off-by:Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
Showing
- hw/i386/Makefile.objs 1 addition, 1 deletionhw/i386/Makefile.objs
- hw/i386/acpi-build.c 34 additions, 4 deletionshw/i386/acpi-build.c
- hw/i386/ssdt-tpm.dsl 1 addition, 15 deletionshw/i386/ssdt-tpm.dsl
- hw/i386/ssdt-tpm.hex.generated 20 additions, 6 deletionshw/i386/ssdt-tpm.hex.generated
- hw/i386/ssdt-tpm2.dsl 29 additions, 0 deletionshw/i386/ssdt-tpm2.dsl
- hw/i386/ssdt-tpm2.hex.generated 109 additions, 0 deletionshw/i386/ssdt-tpm2.hex.generated
- hw/tpm/tpm_tis.c 11 additions, 0 deletionshw/tpm/tpm_tis.c
- include/hw/acpi/acpi-defs.h 18 additions, 0 deletionsinclude/hw/acpi/acpi-defs.h
- include/hw/acpi/tpm.h 5 additions, 0 deletionsinclude/hw/acpi/tpm.h
- include/sysemu/tpm.h 9 additions, 2 deletionsinclude/sysemu/tpm.h
Loading
Please register or sign in to comment