Revision 2507c12a hw/omap_l4.c

b/hw/omap_l4.c
107 107
                          CPUWriteMemoryFunc * const *mem_write,
108 108
                          void *opaque)
109 109
{
110
    return cpu_register_io_memory(mem_read, mem_write, opaque);
110
    return cpu_register_io_memory(mem_read, mem_write, opaque,
111
                                  DEVICE_NATIVE_ENDIAN);
111 112
}
112 113
#endif
113 114

  
......
131 132

  
132 133
    omap_cpu_io_entry =
133 134
            cpu_register_io_memory(omap_l4_io_readfn,
134
                            omap_l4_io_writefn, bus);
135
                            omap_l4_io_writefn, bus, DEVICE_NATIVE_ENDIAN);
135 136
# define L4_PAGES	(0xb4000 / TARGET_PAGE_SIZE)
136 137
    omap_l4_io_readb_fn = qemu_mallocz(sizeof(void *) * L4_PAGES);
137 138
    omap_l4_io_readh_fn = qemu_mallocz(sizeof(void *) * L4_PAGES);

Also available in: Unified diff