unicorn/qemu
Michael Davidsaver 8828b4e595
armv7m: MRS/MSR: handle unprivileged access
The MRS and MSR instruction handling has a number of flaws:
* unprivileged accesses should only be able to read
CONTROL and the xPSR subfields, and only write APSR
(others RAZ/WI)
* privileged access should not be able to write xPSR
subfields other than APSR
* accesses to unimplemented registers should log as
guest errors, not abort QEMU

Backports commit 58117c9bb429cd9552d998687aa99088eb1d8528 from qemu
2018-03-02 13:29:59 -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 armv7m: Fix reads of CONTROL register bit 1 2018-03-02 13:26:38 -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 armv7m: MRS/MSR: handle unprivileged access 2018-03-02 13:29:59 -05:00
tcg aarch64: Change ext type to TCGType to fix warnings 2018-03-02 10:48:56 -05:00
util util/cutils: Change qemu_strtosz*() from int64_t to uint64_t 2018-03-02 08:58:55 -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 tcg: enable MTTCG by default for ARM on x86 hosts 2018-03-02 10:32:47 -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: Don't assume do_unassigned_access() never returns 2018-03-02 10:42:35 -05:00
exec.c RAMBlocks: qemu_ram_is_shared 2018-03-02 13:05:35 -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