On Thu, Feb 15, 2018 at 3:10 PM, Stefan Berger
<address@hidden> wrote:
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 <address@hidden>
---
MAINTAINERS | 1 +
hw/tpm/tpm_tis.c | 101 ----------
include/hw/acpi/tpm.h | 105 +++++++++++
tests/Makefile.include | 2 +
tests/tpm-emu.c | 7 +
tests/tpm-tis-test.c | 486 +++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 601 insertions(+), 101 deletions(-)
create mode 100644 tests/tpm-tis-test.c
diff --git a/MAINTAINERS b/MAINTAINERS
index 57358a0..60a9ae9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1633,6 +1633,7 @@ F: include/hw/acpi/tpm.h
F: include/sysemu/tpm*
F: qapi/tpm.json
F: backends/tpm.c
+F: tests/tpm-*-test
Doesnt' match tests/tpm-emu.c/.h
Make it tests/*tpm* ?