Revision 84108e12 hw/gt64xxx.c

b/hw/gt64xxx.c
297 297
      s->PCI0IO_start = s->regs[GT_PCI0IOLD] << 21;
298 298
      s->PCI0IO_length = ((s->regs[GT_PCI0IOHD] + 1) - (s->regs[GT_PCI0IOLD] & 0x7f)) << 21;
299 299
      isa_mem_base = s->PCI0IO_start;
300
      isa_mmio_init(s->PCI0IO_start, s->PCI0IO_length);
300
#ifdef TARGET_WORDS_BIGENDIAN
301
      isa_mmio_init(s->PCI0IO_start, s->PCI0IO_length, 1);
302
#else
303
      isa_mmio_init(s->PCI0IO_start, s->PCI0IO_length, 0);
304
#endif
301 305
    }
302 306
}
303 307

  

Also available in: Unified diff