xemu/hw/openrisc
Max Filippov 25bda50a0c hw/core/loader: implement address translation in uimage loader
Such address translation is needed when load address recorded in uImage
is a virtual address. When the actual load address is requested, return
untranslated address: user that needs the translated address can always
apply translation function to it and those that need it untranslated
don't need to do the inverse translation.

Add translation function pointer and its parameter to uimage_load
prototype. Update all existing users.

No user-visible functional changes.

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
2014-11-03 00:59:10 +03:00
..
cputimer.c openrisc-timer: Reduce overhead, Separate clock update functions 2013-11-20 21:46:45 +08:00
Makefile.objs hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
openrisc_sim.c hw/core/loader: implement address translation in uimage loader 2014-11-03 00:59:10 +03:00
pic_cpu.c hw/openrisc: Avoid undefined shift in openrisc_pic_cpu_handler() 2013-08-21 09:31:42 +08:00