summaryrefslogtreecommitdiffstats
path: root/include/hw/acpi
diff options
context:
space:
mode:
authorMichael S. Tsirkin2013-04-15 08:19:22 +0200
committerPaolo Bonzini2013-04-15 15:16:34 +0200
commit0445259ba686f9ddf395f700c7d5b1ac400a451c (patch)
treef7bde207b666fa32ccf2ff84d6943f8582da3786 /include/hw/acpi
parenthw: Add lost ARM core again (diff)
downloadqemu-0445259ba686f9ddf395f700c7d5b1ac400a451c.tar.gz
qemu-0445259ba686f9ddf395f700c7d5b1ac400a451c.tar.xz
qemu-0445259ba686f9ddf395f700c7d5b1ac400a451c.zip
acpi: move declarations from pc.h to acpi.h
Functions defined in acpi/ should be declared in acpi.h Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/acpi')
-rw-r--r--include/hw/acpi/acpi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/hw/acpi/acpi.h b/include/hw/acpi/acpi.h
index e18ef28fd3..4cd52c1b36 100644
--- a/include/hw/acpi/acpi.h
+++ b/include/hw/acpi/acpi.h
@@ -154,4 +154,11 @@ void acpi_gpe_reset(ACPIREGS *ar);
void acpi_gpe_ioport_writeb(ACPIREGS *ar, uint32_t addr, uint32_t val);
uint32_t acpi_gpe_ioport_readb(ACPIREGS *ar, uint32_t addr);
+/* acpi.c */
+extern int acpi_enabled;
+extern char unsigned *acpi_tables;
+extern size_t acpi_tables_len;
+
+void acpi_table_add(const QemuOpts *opts, Error **errp);
+
#endif /* !QEMU_HW_ACPI_H */