diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-05-03 22:02:44 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-05-03 22:02:44 +0000 |
commit | 6515b203702b01cd7d4ef8f9cbad77474fc2ed42 (patch) | |
tree | 2642440660b1bdf5840a19eb6c98c77fd41f431f /hw/pc.c | |
parent | 107654552cb442b8b95c1f3ebc18dd64c6c0f0d5 (diff) |
ACPI support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1902 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -836,10 +836,15 @@ static void pc_init1(int ram_size, int vga_ram_size, int boot_device, usb_attach(usb_root_ports[0], vm_usb_hub); } + if (pci_enabled && acpi_enabled) { + piix4_pm_init(pci_bus); + } /* must be done after all PCI devices are instanciated */ /* XXX: should be done in the Bochs BIOS */ if (pci_enabled) { pci_bios_init(); + if (acpi_enabled) + acpi_bios_init(); } } |