unicorn/qemu/target
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
..
arm target/arm: Implement BXNS, and banked stack pointers 2018-03-04 21:21:23 -05:00
i386 target/i386: Remove unnecessary unicorn hooking code in i386_tr_init_disas_context 2018-03-04 20:31:07 -05:00
m68k gen-icount: check cflags instead of use_icount global 2018-03-04 14:26:26 -05:00
mips gen-icount: check cflags instead of use_icount global 2018-03-04 14:26:26 -05:00
sparc gen-icount: check cflags instead of use_icount global 2018-03-04 14:26:26 -05:00