]> git.proxmox.com Git - mirror_qemu.git/commit
translate-all.c: memory walker initial address miscalculation
authorMikhail Ilyin <m.ilin@samsung.com>
Mon, 8 Sep 2014 13:28:56 +0000 (17:28 +0400)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 6 Oct 2014 18:53:35 +0000 (21:53 +0300)
commit1a1c4db9b298956e89caf53b09b6a7a960d55d66
tree571bd286415d0a7e877327695107985a2f304909
parentd80a1905942afecafc04dba4bf51103cd30d37a1
translate-all.c: memory walker initial address miscalculation

The initial base address is miscalculated in walk_memory_regions().
It has to be shifted TARGET_PAGE_BITS more. Holder variables are
extended to target_ulong size otherwise they don't fit for MIPS N32
(a 32-bit ABI with a 64-bit address space) and qemu won't compile.
The issue led to incorrect debug output of memory maps and a
mis-formed coredumped file.

Signed-off-by: Mikhail Ilyin <m.ilin@samsung.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
include/exec/cpu-all.h
linux-user/elfload.c
translate-all.c