mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
ACPI support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1902 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
107654552c
commit
6515b20370
7 changed files with 1287 additions and 1 deletions
5
hw/pc.c
5
hw/pc.c
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue