diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-10-09 21:53:11 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-11-24 13:19:53 +0100 |
commit | d17bd1d8cc27f8c1a24c65f555a77a661c332b7f (patch) | |
tree | e0c6555b1cf94b4ff3fe521c86c746b66aeea325 /uboot_image.h | |
parent | 1ccbc2851282564308f790753d7158487b6af8e2 (diff) |
tcg/arm: fix TLB access in qemu-ld/st ops
The TCG arm backend considers likely that the offset to the TLB
entries does not exceed 12 bits for mem_index = 0. In practice this is
not true for at least the MIPS target.
The current patch fixes that by loading the bits 23-12 with a separate
instruction, and using loads with address writeback, independently of
the value of mem_idx. In total this allow a 24-bit offset, which is a
lot more than needed.
Cc: Andrzej Zaborowski <balrogg@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-stable@nongnu.org
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'uboot_image.h')
0 files changed, 0 insertions, 0 deletions