unicorn/qemu/target
Ard Biesheuvel aeee985cc9
target/arm: Fix 32-bit address truncation
Commit ("3b39d734141a target/arm: Handle page table walk load failures
correctly") modified both versions of the page table walking code (i.e.,
arm_ldl_ptw and arm_ldq_ptw) to record the result of the translation in
a temporary 'data' variable so that it can be inspected before being
returned. However, arm_ldq_ptw() returns an uint64_t, and using a
temporary uint32_t variable truncates the upper bits, corrupting the
result. This causes problems when using more than 4 GB of memory in
a TCG guest. So use a uint64_t instead.

Backports commit 9aea1ea31af25fe344a88da086ff913cca09c667 from qemu
2018-03-06 09:19:19 -05:00
..
arm target/arm: Fix 32-bit address truncation 2018-03-06 09:19:19 -05:00
i386 tcg: Remove TCGV_UNUSED* and TCGV_IS_UNUSED* 2018-03-05 15:58:15 -05:00
m68k target/m68k: add the Interrupt Stack Pointer 2018-03-06 08:41:07 -05:00
mips mips: Fix build 2018-03-06 09:08:59 -05:00
sparc target/sparc: remove MemoryRegionSection check code from sparc_cpu_get_phys_page_debug() 2018-03-06 08:42:13 -05:00