qemu-irix/hw
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
..
9pfs virtio-9p: use virtio wrappers to access headers 2014-06-29 19:39:43 +03:00
acpi pcihp: fix possible array out of bounds 2014-09-08 11:23:05 -05:00
alpha machine: Conversion of QEMUMachineInitArgs to MachineState 2014-05-28 17:35:01 +02:00
arm hw/core/loader: implement address translation in uimage loader 2015-01-06 18:39:10 -06:00
audio audio: fmopl: drop INLINE macro 2014-06-23 11:01:24 -04:00
block virtio-blk: fix reference a pointer which might be freed 2014-09-08 11:23:04 -05:00
bt
char cadence_uart: check for serial backend before using it. 2014-07-17 16:36:17 +01:00
core hw/core/loader: implement address translation in uimage loader 2015-01-06 18:39:10 -06:00
cpu
cris machine: Conversion of QEMUMachineInitArgs to MachineState 2014-05-28 17:35:01 +02:00
display vmware-vga: use vmsvga_verify_rect in vmsvga_fill_rect 2015-01-06 17:41:34 -06:00
dma hw: Fix qemu_allocate_irqs() leaks 2014-06-30 21:13:30 +02:00
gpio savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
i2c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
i386 pc: Fix disabling of vapic for compat PC models 2015-01-06 16:06:25 -06:00
ide ide: only constrain read/write requests to drive size, not other types 2014-08-26 16:58:56 -05:00
input input: fix jumpy mouse cursor with USB mouse emulation 2014-07-01 13:26:37 +02:00
intc xics: Implement xics_ics_free() 2014-06-27 13:48:26 +02:00
ipack irq: Allocate IRQs individually 2014-07-01 04:02:53 +02:00
isa acpi: implement ospm_status() method for PIIX4/ICH9_LPC devices 2014-06-19 18:44:22 +03:00
lm32 machine: Conversion of QEMUMachineInitArgs to MachineState 2014-05-28 17:35:01 +02:00
m68k hw/core/loader: implement address translation in uimage loader 2015-01-06 18:39:10 -06:00
mem pc-dimm: Don't check dimm->node when there is non-NUMA config 2015-01-06 15:49:49 -06:00
microblaze hw/core/loader: implement address translation in uimage loader 2015-01-06 18:39:10 -06:00
mips mips_malta: Catch kernels linked at wrong address 2014-07-09 18:17:08 +02:00
misc ivshmem: Fix fd leak on error 2015-01-06 15:43:56 -06:00
moxie hw/moxie/moxiesim.c: Remove unused moxie_intc_create() 2014-06-24 20:01:24 +04:00
net vhost-user: fix VIRTIO_NET_F_MRG_RXBUF negotiation 2015-01-05 20:22:59 -06:00
nvram spapr: Fix RTAS token numbers 2014-06-27 13:48:22 +02:00
openrisc hw/core/loader: implement address translation in uimage loader 2015-01-06 18:39:10 -06:00
pci pci: Use bus master address space for delivering MSI/MSI-X messages 2014-12-24 16:08:15 -06:00
pci-bridge hw/pcie: implement power controller functionality 2014-06-23 17:48:42 +03:00
pci-host prep: Remove PCI memory hack related to OpenHack'Ware 2014-07-07 16:46:35 +02:00
pcmcia hw: Fix qemu_allocate_irqs() leaks 2014-06-30 21:13:30 +02:00
ppc hw/core/loader: implement address translation in uimage loader 2015-01-06 18:39:10 -06:00
s390x virtio-balloon: fix virtio-balloon child refcount in transports 2015-01-06 16:03:19 -06:00
scsi virtio-scsi: sense in virtio_scsi_command_complete 2015-01-06 18:27:21 -06:00
sd hw: Fix qemu_allocate_irqs() leaks 2014-06-30 21:13:30 +02:00
sh4 hw: Fix qemu_allocate_irqs() leaks 2014-06-30 21:13:30 +02:00
sparc tcx: move initialisation from realizefn to initfn 2014-06-05 20:51:57 +01:00
sparc64 machine: Conversion of QEMUMachineInitArgs to MachineState 2014-05-28 17:35:01 +02:00
ssi ssi: Name the CS GPIO 2014-05-28 17:36:21 +02:00
timer mc146818rtc: register the clock reset notifier on the right clock 2014-07-10 17:06:33 +02:00
tpm
unicore32 machine: Conversion of QEMUMachineInitArgs to MachineState 2014-05-28 17:35:01 +02:00
usb xhci PCIe endpoint migration compatibility fix 2014-12-24 15:45:02 -06:00
virtio virtio-9p: fix virtio-9p child refcount in transports 2015-01-06 16:03:37 -06:00
watchdog watchdog: fix deadlock with -watchdog-action pause 2014-07-09 18:17:08 +02:00
xen xen_backend: introduce xenstore_read_uint64 and xenstore_read_fe_uint64 2014-07-07 10:37:40 +00:00
xenpv machine: Conversion of QEMUMachineInitArgs to MachineState 2014-05-28 17:35:01 +02:00
xtensa hw/core/loader: implement address translation in uimage loader 2015-01-06 18:39:10 -06:00
Makefile.objs pc: implement pc-dimm device abstraction 2014-06-19 16:41:47 +03:00