From: bellard Date: Mon, 3 Jan 2005 23:30:09 +0000 (+0000) Subject: APIC support X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=75598f6131dab9b6ba18185c92d3c826854b6ce7;p=qemu.git APIC support git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1186 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/pc.c b/hw/pc.c index 64b6180a3d..7b6c8946fa 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -527,6 +527,8 @@ void pc_init(int ram_size, int vga_ram_size, int boot_device, register_ioport_read(0x92, 1, 1, ioport92_read, NULL); register_ioport_write(0x92, 1, 1, ioport92_write, NULL); + if (pci_enabled) + apic_init(cpu_single_env); pic_init(); pit = pit_init(0x40, 0);