History | View | Annotate | Download (4.3 kB)
Rename target_phys_addr_t to hwaddr
target_phys_addr_t is unwieldly, violates the C standard (_t suffixes arereserved) and its purpose doesn't match the name (most target_phys_addr_taddresses are not target specific). Replace it with a finger-friendly,...
omap_l4: rename omap_l4_attach_region() to omap_l4_attach()
Signed-off-by: Avi Kivity <avi@redhat.com>
omap_l4: remove omap_l4_attach()
No longer used.
omap_l4: convert to memory API
Signed-off-by: Benoît Canet <benoit.canet@gmail.com>Signed-off-by: Avi Kivity <avi@redhat.com>
omap: eliminate l4_register_io_memory
This is a trivial wrapper around cpu_register_io_memory(), addingno value. Inline it into all callers.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Avi Kivity <avi@redhat.com>
omap_l4: add memory API variant of omap_l4_attach()
Also add omap_l4_region_size(), since memory API functions needthe size during initialization.
omap: remove L4_MUX_HACK
This was introduced apparently to overcome a limitation on the number ofcpu_register_io_memory() calls. 477b24ef91175 (July 2008) removed useof the hack, but retained the code. This patch removes the code as well.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>...
Use glib memory allocation and free functions
qemu_malloc/qemu_free no longer exist after this commit.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/omap_l4.c: Add helper function omap_l4_region_base
Add helper function omap_l4_region_base() to return the base addressof a particular region of an L4 target agent.
Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>[Riku Voipio: Fixes and restructuring patchset]...
Add endianness as io mem parameter
As stated before, devices can be little, big or native endian. Thetarget endianness is not of their concern, so we need to push thingsdown a level.
This patch adds a parameter to cpu_register_io_memory that allows adevice to choose its endianness. For now, all devices simply choose...
hw/omwp2.c : separate l4 interconnect module
Signed-off-by: cmchao <cmchao@gmail.com>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>