mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
64e9df8d34
commit
60de1163d5
2 changed files with 44 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue