mirror of https://github.com/xemu-project/xemu.git
APIC support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1186 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
4f7631cfb5
commit
75598f6131
2
hw/pc.c
2
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_read(0x92, 1, 1, ioport92_read, NULL);
|
||||||
register_ioport_write(0x92, 1, 1, ioport92_write, NULL);
|
register_ioport_write(0x92, 1, 1, ioport92_write, NULL);
|
||||||
|
|
||||||
|
if (pci_enabled)
|
||||||
|
apic_init(cpu_single_env);
|
||||||
pic_init();
|
pic_init();
|
||||||
pit = pit_init(0x40, 0);
|
pit = pit_init(0x40, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue