1 /*
2  * TPM stubs
3  *
4  * This work is licensed under the terms of the GNU GPL, version 2 or later.
5  * See the COPYING file in the top-level directory.
6  */
7 
8 #include "qemu/osdep.h"
9 #include "qapi/qapi-commands-tpm.h"
10 #include "sysemu/tpm.h"
11 #include "hw/acpi/tpm.h"
12 
tpm_init(void)13 void tpm_init(void)
14 {
15 }
16 
tpm_cleanup(void)17 void tpm_cleanup(void)
18 {
19 }
20 
qmp_query_tpm(Error ** errp)21 TPMInfoList *qmp_query_tpm(Error **errp)
22 {
23     return NULL;
24 }
25 
qmp_query_tpm_types(Error ** errp)26 TpmTypeList *qmp_query_tpm_types(Error **errp)
27 {
28     return NULL;
29 }
30 
qmp_query_tpm_models(Error ** errp)31 TpmModelList *qmp_query_tpm_models(Error **errp)
32 {
33     return NULL;
34 }
35 
tpm_build_ppi_acpi(TPMIf * tpm,Aml * dev)36 void tpm_build_ppi_acpi(TPMIf *tpm, Aml *dev)
37 {
38 }
39