vfio/pci: Make interrupt bypass runtime configurable
[qemu/ar7.git] / hw / tpm / tpm_util.h
blobe7f354a52d32075c762bb9eb2573caaf49f7027e
1 /*
2 * TPM utility functions
4 * Copyright (c) 2010 - 2015 IBM Corporation
5 * Authors:
6 * Stefan Berger <stefanb@us.ibm.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, see <http://www.gnu.org/licenses/>
21 #ifndef TPM_TPM_UTILS_H
22 #define TPM_TPM_UTILS_H
24 #include "sysemu/tpm_backend.h"
26 int tpm_util_test_tpmdev(int tpm_fd, TPMVersion *tpm_version);
28 #endif /* TPM_TPM_UTILS_H */