Skip to content
  • Alexander Graf's avatar
    Add endianness as io mem parameter · 2507c12a
    Alexander Graf authored
    
    
    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
    native endian, because that's the same behavior as before.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
    2507c12a