mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Add ACPI tables for TPM
Add an SSDT ACPI table for the TPM device. Add a TCPA table for BIOS logging area when a TPM is being used. The latter follows this spec here: http://www.trustedcomputinggroup.org/files/static_page_files/DCD4188E-1A4B-B294-D050A155FB6F7385/TCG_ACPIGeneralSpecification_PublicReview.pdf This patch has Michael Tsirkin's patches folded in. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
927766c7d3
commit
711b20b479
7 changed files with 138 additions and 8 deletions
|
@ -20,4 +20,11 @@ int tpm_config_parse(QemuOptsList *opts_list, const char *optarg);
|
|||
int tpm_init(void);
|
||||
void tpm_cleanup(void);
|
||||
|
||||
#define TYPE_TPM_TIS "tpm-tis"
|
||||
|
||||
static inline bool tpm_find(void)
|
||||
{
|
||||
return object_resolve_path_type("", TYPE_TPM_TIS, NULL);
|
||||
}
|
||||
|
||||
#endif /* QEMU_TPM_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue