hvf: Gate RDTSCP on CPU_BASED2_RDTSCP, not just CPU_BASED_TSC_OFFSET
[qemu/ar7.git] / stubs / tpm.c
blob9bded191d9d0e47d3a90e73b48bc3259827d162d
1 /*
2 * TPM stubs
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 */
8 #include "qemu/osdep.h"
9 #include "qapi/qapi-commands-tpm.h"
10 #include "sysemu/tpm.h"
11 #include "hw/acpi/tpm.h"
13 int tpm_init(void)
15 return 0;
18 void tpm_cleanup(void)
22 TPMInfoList *qmp_query_tpm(Error **errp)
24 return NULL;
27 TpmTypeList *qmp_query_tpm_types(Error **errp)
29 return NULL;
32 TpmModelList *qmp_query_tpm_models(Error **errp)
34 return NULL;
37 void tpm_build_ppi_acpi(TPMIf *tpm, Aml *dev)