tpm.c 582 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. #include "qemu/osdep.h"
  8. #include "qapi/qapi-commands-tpm.h"
  9. #include "sysemu/tpm.h"
  10. #include "hw/acpi/tpm.h"
  11. int tpm_init(void)
  12. {
  13. return 0;
  14. }
  15. void tpm_cleanup(void)
  16. {
  17. }
  18. TPMInfoList *qmp_query_tpm(Error **errp)
  19. {
  20. return NULL;
  21. }
  22. TpmTypeList *qmp_query_tpm_types(Error **errp)
  23. {
  24. return NULL;
  25. }
  26. TpmModelList *qmp_query_tpm_models(Error **errp)
  27. {
  28. return NULL;
  29. }
  30. void tpm_build_ppi_acpi(TPMIf *tpm, Aml *dev)
  31. {
  32. }