summaryrefslogtreecommitdiff
path: root/include/hw/acpi
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-10-07 14:41:40 +0300
committerMichael S. Tsirkin <mst@redhat.com>2013-10-14 17:48:53 +0300
commit60de1163d5b5013fe964ac0792e9a64a823e73a3 (patch)
treea2de55b3a511f4b1a72c6697e0058a42a21a10df /include/hw/acpi
parent64e9df8d34e493e59c1920358257a7576a560a1a (diff)
downloadqemu-60de1163d5b5013fe964ac0792e9a64a823e73a3.zip
acpi: add interface to access user-installed tables
Also add a new API to install builtin tables, so that we can distinguish between the two. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/acpi')
-rw-r--r--include/hw/acpi/acpi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/acpi/acpi.h b/include/hw/acpi/acpi.h
index 51733d3390..6bbcb1750d 100644
--- a/include/hw/acpi/acpi.h
+++ b/include/hw/acpi/acpi.h
@@ -165,6 +165,10 @@ extern int acpi_enabled;
extern char unsigned *acpi_tables;
extern size_t acpi_tables_len;
+uint8_t *acpi_table_first(void);
+uint8_t *acpi_table_next(uint8_t *current);
+unsigned acpi_table_len(void *current);
void acpi_table_add(const QemuOpts *opts, Error **errp);
+void acpi_table_add_builtin(const QemuOpts *opts, Error **errp);
#endif /* !QEMU_HW_ACPI_H */