xref: /openbmc/qemu/tests/qtest/tpm-tis-util.h (revision e3a99063)
1 /*
2  * QTest TPM TIS: Common test functions used for both the
3  * ISA and SYSBUS devices
4  *
5  * Copyright (c) 2018 IBM Corporation
6  *
7  * Authors:
8  *   Stefan Berger <stefanb@linux.vnet.ibm.com>
9  *
10  * This work is licensed under the terms of the GNU GPL, version 2 or later.
11  * See the COPYING file in the top-level directory.
12  */
13 
14 #ifndef TESTS_TPM_TIS_UTIL_H
15 #define TESTS_TPM_TIS_UTIL_H
16 
17 void tpm_tis_test_check_localities(const void *data);
18 void tpm_tis_test_check_access_reg(const void *data);
19 void tpm_tis_test_check_access_reg_seize(const void *data);
20 void tpm_tis_test_check_access_reg_release(const void *data);
21 void tpm_tis_test_check_transmit(const void *data);
22 
23 #endif /* TESTS_TPM_TIS_UTIL_H */
24