From 75598f6131dab9b6ba18185c92d3c826854b6ce7 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 3 Jan 2005 23:30:09 +0000 Subject: APIC support git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1186 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/pc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/pc.c') diff --git a/hw/pc.c b/hw/pc.c index 64b6180..7b6c894 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); -- cgit v1.1