diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-06-18 19:57:00 +0900 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-22 10:15:28 -0500 |
commit | 9d5e77a22f1b8b502a11aa6288334c2787d8dbc8 (patch) | |
tree | 14127df220269130ff58d5cd5479f26835206b6c /hw/pc.h | |
parent | 30868442a5590991266a34af3f0b728a4a0ee6d0 (diff) |
acpi.c: make qemu_system_device_hot_add piix independent.
introruce piix4_device_hot_add() for piix4 specific code
and make qemu_system_device_hot_add() generic.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -108,11 +108,14 @@ extern int acpi_enabled; extern char *acpi_tables; extern size_t acpi_tables_len; +void acpi_bios_init(void); +int acpi_table_add(const char *table_desc); + +/* acpi_piix.c */ i2c_bus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base, qemu_irq sci_irq); void piix4_smbus_register_device(SMBusDevice *dev, uint8_t addr); -void acpi_bios_init(void); -int acpi_table_add(const char *table_desc); +void piix4_acpi_system_hot_add_init(void); /* hpet.c */ extern int no_hpet; |