Revision 1eed09cb hw/apic.c

b/hw/apic.c
936 936
    if (apic_io_memory == 0) {
937 937
        /* NOTE: the APIC is directly connected to the CPU - it is not
938 938
           on the global memory bus. */
939
        apic_io_memory = cpu_register_io_memory(0, apic_mem_read,
939
        apic_io_memory = cpu_register_io_memory(apic_mem_read,
940 940
                                                apic_mem_write, NULL);
941 941
        cpu_register_physical_memory(s->apicbase & ~0xfff, 0x1000,
942 942
                                     apic_io_memory);

Also available in: Unified diff