Commit 75598f6131dab9b6ba18185c92d3c826854b6ce7
1 parent
4f7631cf
APIC support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1186 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
hw/pc.c
... | ... | @@ -527,6 +527,8 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device, |
527 | 527 | register_ioport_read(0x92, 1, 1, ioport92_read, NULL); |
528 | 528 | register_ioport_write(0x92, 1, 1, ioport92_write, NULL); |
529 | 529 | |
530 | + if (pci_enabled) | |
531 | + apic_init(cpu_single_env); | |
530 | 532 | pic_init(); |
531 | 533 | pit = pit_init(0x40, 0); |
532 | 534 | ... | ... |