tests: add test for TPM TIS device
commitadb0e917e6ee93631e40265ca145bc31cd3b6c9a
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 15 Feb 2018 00:51:48 +0000 (14 19:51 -0500)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 21 Feb 2018 12:24:50 +0000 (21 07:24 -0500)
tree4586a5c8e57d322cde0c44ff92a4bbc3ea414152
parent0e6ca9547bd4f2735fa2b20f103a7aecd38e0abd
tests: add test for TPM TIS device

Move the TPM TIS related register and flag #defines into
include/hw/acpi/tpm.h for access by the test case.

Write a test case that covers the TIS functionality.

Add the tests cases to the MAINTAINERS file.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
MAINTAINERS
hw/tpm/tpm_tis.c
include/hw/acpi/tpm.h
tests/Makefile.include
tests/tpm-emu.c
tests/tpm-tis-test.c [new file with mode: 0644]