target/arm: Add state field, feature bit and migration for v8M secure state
commit1e577cc7cffd3de14dbd321de5c3ef191c6ab07f
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Sep 2017 12:54:52 +0000 (7 13:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Sep 2017 12:54:52 +0000 (7 13:54 +0100)
tree7458a34012b0601998c8b38e7dcc4bdd396083d2
parent504e3cc36b68b34c176f3f4116b1d5677471ec20
target/arm: Add state field, feature bit and migration for v8M secure state

As the first step in implementing ARM v8M's security extension:
 * add a new feature bit ARM_FEATURE_M_SECURITY
 * add the CPU state field that indicates whether the CPU is
   currently in the secure state
 * add a migration subsection for this new state
   (we will add the Secure copies of banked register state
   to this subsection in later patches)
 * add a #define for the one new-in-v8M exception type
 * make the CPU debug log print S/NS status

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1503414539-28762-4-git-send-email-peter.maydell@linaro.org
target/arm/cpu.c
target/arm/cpu.h
target/arm/machine.c
target/arm/translate.c