aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
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 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);