]> git.proxmox.com Git - mirror_qemu.git/blobdiff - stubs/tpm.c
migration/ram.c: start of migration_bitmap_sync_range is always 0
[mirror_qemu.git] / stubs / tpm.c
index c18aac1c739f077aa45c0fd4e55fa90b94470261..66c99d667dd68287b721a08d5dc6b5923f6d65d1 100644 (file)
@@ -4,13 +4,14 @@
  * This work is licensed under the terms of the GNU GPL, version 2 or later.
  * See the COPYING file in the top-level directory.
  */
+
 #include "qemu/osdep.h"
+#include "qapi/qapi-commands-tpm.h"
 #include "sysemu/tpm.h"
-#include "qmp-commands.h"
+#include "hw/acpi/tpm.h"
 
-int tpm_init(void)
+void tpm_init(void)
 {
-    return 0;
 }
 
 void tpm_cleanup(void)
@@ -31,3 +32,7 @@ TpmModelList *qmp_query_tpm_models(Error **errp)
 {
     return NULL;
 }
+
+void tpm_build_ppi_acpi(TPMIf *tpm, Aml *dev)
+{
+}