mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 14:00:44 +00:00
3b97c01e9c
Implement a virtual memory device for the TPM Physical Presence interface. The memory is located at 0xFED45000 and used by ACPI to send messages to the firmware (BIOS) and by the firmware to provide parameters for each one of the supported codes. This interface should be used by all TPM devices on x86 and can be added by calling tpm_ppi_init_io(). Note: bios_linker cannot be used to allocate the PPI memory region, since the reserved memory should stay stable across reboots, and might be needed before the ACPI tables are installed. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
7 lines
240 B
Makefile
7 lines
240 B
Makefile
common-obj-y += tpm_util.o
|
|
obj-y += tpm_ppi.o
|
|
common-obj-$(CONFIG_TPM_TIS) += tpm_tis.o
|
|
common-obj-$(CONFIG_TPM_CRB) += tpm_crb.o
|
|
common-obj-$(CONFIG_TPM_PASSTHROUGH) += tpm_passthrough.o
|
|
common-obj-$(CONFIG_TPM_EMULATOR) += tpm_emulator.o
|