unicorn/qemu/target
Peter Maydell 4b24f6d87b
target/arm: Make CCR register banked for v8M
Make the CCR register banked if v8M security extensions are enabled.

This is slightly more complicated than the other "add banking"
patches because there is one bit in the register which is not
banked. We keep the live data in the NS copy of the register,
and adjust it on register reads and writes. (Since we don't
currently implement the behaviour that the bit controls, there
is nowhere else that needs to care.)

This patch includes the enforcement of the bits which are newly
RES1 in ARMv8M.

Backports commit 9d40cd8a68cfc7606f4548cc9e812bab15c6dc28 from qemu
2018-03-04 21:09:34 -05:00
..
arm target/arm: Make CCR register banked for v8M 2018-03-04 21:09:34 -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