Revision 968d683c 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 |
#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 |
|
300 |
isa_mmio_init(s->PCI0IO_start, s->PCI0IO_length); |
|
305 | 301 |
} |
306 | 302 |
} |
307 | 303 |
|
Also available in: Unified diff