qemu-irix/hw/openrisc
Max Filippov c448fb7651 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>
(cherry picked from commit 25bda50a0c)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-01-06 18:39:10 -06:00
..
Makefile.objs hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
cputimer.c openrisc-timer: Reduce overhead, Separate clock update functions 2013-11-20 21:46:45 +08:00
openrisc_sim.c hw/core/loader: implement address translation in uimage loader 2015-01-06 18:39:10 -06:00
pic_cpu.c hw/openrisc: Avoid undefined shift in openrisc_pic_cpu_handler() 2013-08-21 09:31:42 +08:00