diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2023-03-31 13:30:50 -0400 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-04-20 11:25:32 +0200 |
commit | f8d64616932805c5a5efea1a6a5bfee630d0096b (patch) | |
tree | bcb3cfd9d46e8ba282e9164d8fc44f6a1b92a240 /tests/qtest/tpm-crb-swtpm-test.c | |
parent | a3ebb580a21c89d22ac5f52bd70814c997f28893 (diff) |
qtest: Move tpm_util_tis_transmit() into tpm-tis-utils.c and rename it
To be able to remove tpm_tis_base_addr from test cases that do not really
need it move the tpm_util_tis_transmit() function into tpm-tis-utils.c and
rename it to tpm_tis_transmit().
Fix a locality parameter in a test case on the way.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Ninad Palsule <ninad@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230331173051.3857801-3-stefanb@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/tpm-crb-swtpm-test.c')
-rw-r--r-- | tests/qtest/tpm-crb-swtpm-test.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/qtest/tpm-crb-swtpm-test.c b/tests/qtest/tpm-crb-swtpm-test.c index 40254f762f..ffeb1c396b 100644 --- a/tests/qtest/tpm-crb-swtpm-test.c +++ b/tests/qtest/tpm-crb-swtpm-test.c @@ -19,9 +19,6 @@ #include "tpm-tests.h" #include "hw/acpi/tpm.h" -/* Not used but needed for linking */ -uint64_t tpm_tis_base_addr = TPM_TIS_ADDR_BASE; - typedef struct TestState { char *src_tpm_path; char *dst_tpm_path; |