Revision 2507c12a hw/heathrow_pic.c

b/hw/heathrow_pic.c
222 222
    s = qemu_mallocz(sizeof(HeathrowPICS));
223 223
    /* only 1 CPU */
224 224
    s->irqs = irqs[0];
225
    *pmem_index = cpu_register_io_memory(pic_read, pic_write, s);
225
    *pmem_index = cpu_register_io_memory(pic_read, pic_write, s,
226
                                         DEVICE_NATIVE_ENDIAN);
226 227

  
227 228
    register_savevm(NULL, "heathrow_pic", -1, 1, heathrow_pic_save,
228 229
                    heathrow_pic_load, s);

Also available in: Unified diff