unicorn/qemu
Peter Maydell 4b816fe0aa
target/arm: Implement BXNS, and banked stack pointers
Implement the BXNS v8M instruction, which is like BX but will do a
jump-and-switch-to-NonSecure if the branch target address has bit 0
clear.

This is the first piece of code which implements "switch to the
other security state", so the commit also includes the code to
switch the stack pointers around, which is the only complicated
part of switching security state.

BLXNS is more complicated than just "BXNS but set the link register",
so we leave it for a separate commit.

Backports commit fb602cb726b3ebdd01ef3b1732d74baf9fee7ec9 from qemu
2018-03-04 21:21:23 -05:00
..
accel target/arm: [tcg] Port to generic translation framework 2018-03-04 20:28:06 -05:00
crypto
default-configs
docs
fpu
hw
include tcg: Add generic translation framework 2018-03-04 14:31:16 -05:00
qapi
qobject
qom
scripts
target target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
tcg tcg/s390: Use slbgr for setcond le and leu 2018-03-04 13:48:42 -05:00
util
aarch64.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
aarch64eb.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
accel.c
arm.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
armeb.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
atomic_template.h
CODING_STYLE
configure
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c
cpus.c
cputlb.c
exec.c
gen_all_header.sh
glib_compat.c
HACKING
header_gen.py target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
ioport.c
LICENSE
m68k.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
Makefile
Makefile.objs
Makefile.target tcg: Add generic translation framework 2018-03-04 14:31:16 -05:00
memory.c
memory_ldst.inc.c
memory_mapping.c
mips.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
mips64.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
mips64el.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
mipsel.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
powerpc.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
qapi-schema.json
qemu-timer.c
rules.mak
softmmu_template.h
sparc.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
sparc64.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
tcg-runtime.c
translate-all.c
translate-all.h
translate-common.c
unicorn_common.h
VERSION
vl.c
vl.h
x86_64.h target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00