unicorn/qemu
Peter Maydell 4789e49c4d
arm: Use the mmu_idx we're passed in arm_cpu_do_unaligned_access()
When identifying the DFSR format for an alignment fault, use
the mmu index that we are passed, rather than calling cpu_mmu_index()
to get the mmu index for the current CPU state. This doesn't actually
make any difference since the only cases where the current MMU index
differs from the index used for the load are the "unprivileged
load/store" instructions, and in that case the mmu index may
differ but the translation regime is the same (apart from the
"use from Hyp mode" case which is UNPREDICTABLE).
However it's the more logical thing to do.

Backports commit e517d95b63427fae9f03958dbc005c36b4ebf2cf from qemu
2018-03-02 18:59:12 -05:00
..
crypto
default-configs
docs
fpu softfloat: Use correct type in float64_to_uint64_round_to_zero() 2018-03-02 10:44:10 -05:00
hw i386: Remove AMD feature flag aliases from Opteron models 2018-03-01 23:49:04 -05:00
include memory: tune last param of iommu_ops.translate() 2018-03-02 18:59:12 -05:00
qapi qapi: Fix object input visit beyond end of list 2018-03-02 12:22:50 -05:00
qobject util/cutils: Rename qemu_strtoll(), qemu_strtoull() 2018-03-02 08:39:45 -05:00
qom qapi: Drop unused non-strict qobject input visitor 2018-03-02 12:14:52 -05:00
scripts
target arm: Use the mmu_idx we're passed in arm_cpu_do_unaligned_access() 2018-03-02 18:59:12 -05:00
tcg tcg/mips: fix field extraction opcode 2018-03-02 18:59:12 -05:00
util bitmap: add bitmap_copy_and_clear_atomic 2018-03-02 18:59:11 -05:00
aarch64.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
aarch64eb.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
accel.c
arm.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
armeb.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
atomic_template.h
CODING_STYLE
configure configure: remove Cygwin 2018-03-02 14:17:41 -05:00
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c cpu-exec: remove unnecessary check of cpu->exit_request 2018-03-02 11:21:35 -05:00
cpus.c tcg: handle EXCP_ATOMIC exception for system emulation 2018-03-02 09:56:43 -05:00
cputlb.c cputlb: handle first atomic write to the page 2018-03-02 18:59:12 -05:00
exec.c memory: tune last param of iommu_ops.translate() 2018-03-02 18:59:12 -05:00
gen_all_header.sh
glib_compat.c qapi: Improve qobject input visitor error reporting 2018-03-02 12:05:53 -05:00
HACKING
header_gen.py RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
ioport.c
LICENSE
m68k.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
Makefile
Makefile.objs
Makefile.target Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
memory_ldst.inc.c
memory_mapping.c
memory.c memory: Introduce DEVICE_HOST_ENDIAN for ram device 2018-03-02 11:24:32 -05:00
mips64.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
mips64el.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
mips.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
mipsel.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
powerpc.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
qapi-schema.json
qemu-timer.c
rules.mak
softmmu_template.h
sparc64.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
sparc.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00
tcg-runtime.c tcg: Add opcode for ctpop 2018-03-01 18:26:41 -05:00
translate-all.c translate-all: exit cpu_restore_state early if translating 2018-03-02 12:46:16 -05:00
translate-all.h
translate-common.c
unicorn_common.h
VERSION
vl.c tcg: add options for enabling MTTCG 2018-03-02 09:25:01 -05:00
vl.h
x86_64.h RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -05:00