unicorn/qemu/target/arm
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-powerctl.c
arm-powerctl.h
arm_ldst.h
cpu-qom.h
cpu.c cpu: refactor cpu_address_space_init() 2018-03-05 14:39:25 -05:00
cpu.h target/arm: Create new arm_v7m_mmu_idx_for_secstate_and_priv() 2018-03-05 13:48:31 -05:00
cpu64.c
crypto_helper.c
helper-a64.c target/arm: Fix stlxp for aarch64_be 2018-03-06 08:48:12 -05:00
helper-a64.h
helper.c target/arm: Fix 32-bit address truncation 2018-03-06 09:19:19 -05:00
helper.h target/arm: Implement TT instruction 2018-03-05 13:48:31 -05:00
internals.h target/arm: Handle page table walk load failures correctly 2018-03-06 08:55:08 -05:00
iwmmxt_helper.c
kvm-consts.h
Makefile.objs
neon_helper.c
op_addsub.h
op_helper.c target/arm: Handle page table walk load failures correctly 2018-03-06 08:55:08 -05:00
psci.c fix WFI/WFE length in syndrome register 2018-03-05 11:21:51 -05:00
translate-a64.c tcg: Dynamically allocate TCGOps 2018-03-05 16:34:40 -05:00
translate.c target/arm: Make disas_thumb2_insn() generate its own UNDEF exceptions 2018-03-06 08:50:18 -05:00
translate.h tcg: Dynamically allocate TCGOps 2018-03-05 16:34:40 -05:00
unicorn.h
unicorn_aarch64.c
unicorn_arm.c