| Branch: | Revision:

root / rwhandler.c @ a74cdab4

History | View | Annotate | Download (2.6 kB)

# Date Author Comment
2507c12a 12/11/2010 05:24 pm Alexander Graf

Add endianness as io mem parameter

As stated before, devices can be little, big or native endian. The
target endianness is not of their concern, so we need to push things
down a level.

This patch adds a parameter to cpu_register_io_memory that allows a
device to choose its endianness. For now, all devices simply choose...

6bef0436 12/11/2010 05:24 pm Alexander Graf

Make simple io mem handler endian aware

As an alternative to the 3 individual handlers, there is also a simplified
io mem hook function. To be consistent, let's add an endianness parameter
there too.

Signed-off-by: Alexander Graf <>
Signed-off-by: Blue Swirl <>

51464faf 02/20/2010 11:27 am Blue Swirl

Don't compile rwhandler.c for user targets

Signed-off-by: Blue Swirl <>

049f7adb 02/14/2010 04:10 pm Michael S. Tsirkin

rwhandler: simplified way to register for mem/io

Some users prefer a single callback with length passed as parameter to
using b/w/l callbacks. It would maybe be cleaner to just pass length to
existing callbacks but that's a lot of churn. So for now add a wrapper....