]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qtest/tpm-tis-util.h
Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging
[mirror_qemu.git] / tests / qtest / tpm-tis-util.h
CommitLineData
5166c326
EA
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
17void tpm_tis_test_check_localities(const void *data);
18void tpm_tis_test_check_access_reg(const void *data);
19void tpm_tis_test_check_access_reg_seize(const void *data);
20void tpm_tis_test_check_access_reg_release(const void *data);
21void tpm_tis_test_check_transmit(const void *data);
22
f8d64616
SB
23void tpm_tis_transfer(QTestState *s,
24 const unsigned char *req, size_t req_size,
25 unsigned char *rsp, size_t rsp_size);
26
5166c326 27#endif /* TESTS_TPM_TIS_UTIL_H */