mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
a3ebb580a2
commit
f8d6461693
8 changed files with 56 additions and 59 deletions
|
@ -20,4 +20,8 @@ void tpm_tis_test_check_access_reg_seize(const void *data);
|
|||
void tpm_tis_test_check_access_reg_release(const void *data);
|
||||
void tpm_tis_test_check_transmit(const void *data);
|
||||
|
||||
void tpm_tis_transfer(QTestState *s,
|
||||
const unsigned char *req, size_t req_size,
|
||||
unsigned char *rsp, size_t rsp_size);
|
||||
|
||||
#endif /* TESTS_TPM_TIS_UTIL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue