Revision a56e423c hw/omap2.c
b/hw/omap2.c | ||
---|---|---|
784 | 784 |
|
785 | 785 |
s->chr = chr ?: qemu_chr_new("null", "null", NULL); |
786 | 786 |
|
787 |
iomemtype = l4_register_io_memory(omap_sti_readfn,
|
|
788 |
omap_sti_writefn, s); |
|
787 |
iomemtype = cpu_register_io_memory(omap_sti_readfn,
|
|
788 |
omap_sti_writefn, s, DEVICE_NATIVE_ENDIAN);
|
|
789 | 789 |
omap_l4_attach(ta, 0, iomemtype); |
790 | 790 |
|
791 | 791 |
iomemtype = cpu_register_io_memory(omap_sti_fifo_readfn, |
... | ... | |
1798 | 1798 |
s->mpu = mpu; |
1799 | 1799 |
omap_prcm_coldreset(s); |
1800 | 1800 |
|
1801 |
iomemtype = l4_register_io_memory(omap_prcm_readfn,
|
|
1802 |
omap_prcm_writefn, s); |
|
1801 |
iomemtype = cpu_register_io_memory(omap_prcm_readfn,
|
|
1802 |
omap_prcm_writefn, s, DEVICE_NATIVE_ENDIAN);
|
|
1803 | 1803 |
omap_l4_attach(ta, 0, iomemtype); |
1804 | 1804 |
omap_l4_attach(ta, 1, iomemtype); |
1805 | 1805 |
|
... | ... | |
2168 | 2168 |
s->mpu = mpu; |
2169 | 2169 |
omap_sysctl_reset(s); |
2170 | 2170 |
|
2171 |
iomemtype = l4_register_io_memory(omap_sysctl_readfn,
|
|
2172 |
omap_sysctl_writefn, s); |
|
2171 |
iomemtype = cpu_register_io_memory(omap_sysctl_readfn,
|
|
2172 |
omap_sysctl_writefn, s, DEVICE_NATIVE_ENDIAN);
|
|
2173 | 2173 |
omap_l4_attach(ta, 0, iomemtype); |
2174 | 2174 |
|
2175 | 2175 |
return s; |
Also available in: Unified diff