Revision 2507c12a hw/ppc405_boards.c
b/hw/ppc405_boards.c | ||
---|---|---|
164 | 164 |
|
165 | 165 |
fpga = qemu_mallocz(sizeof(ref405ep_fpga_t)); |
166 | 166 |
fpga_memory = cpu_register_io_memory(ref405ep_fpga_read, |
167 |
ref405ep_fpga_write, fpga); |
|
167 |
ref405ep_fpga_write, fpga, |
|
168 |
DEVICE_NATIVE_ENDIAN); |
|
168 | 169 |
cpu_register_physical_memory(base, 0x00000100, fpga_memory); |
169 | 170 |
qemu_register_reset(&ref405ep_fpga_reset, fpga); |
170 | 171 |
} |
... | ... | |
488 | 489 |
|
489 | 490 |
cpld = qemu_mallocz(sizeof(taihu_cpld_t)); |
490 | 491 |
cpld_memory = cpu_register_io_memory(taihu_cpld_read, |
491 |
taihu_cpld_write, cpld); |
|
492 |
taihu_cpld_write, cpld, |
|
493 |
DEVICE_NATIVE_ENDIAN); |
|
492 | 494 |
cpu_register_physical_memory(base, 0x00000100, cpld_memory); |
493 | 495 |
qemu_register_reset(&taihu_cpld_reset, cpld); |
494 | 496 |
} |
Also available in: Unified diff