aboutsummaryrefslogtreecommitdiffstats
path: root/hw/pc.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-03 23:30:09 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-03 23:30:09 +0000
commit75598f6131dab9b6ba18185c92d3c826854b6ce7 (patch)
treed2354f888e64a184a4a5e8bc4344b154f3f80c67 /hw/pc.c
parent4f7631cfb540b452a01a0375716b51bcc933ef53 (diff)
APIC support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1186 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 64b6180a3..7b6c8946f 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);