On 08/29/2017 12:28 PM, Richard Henderson wrote:
On 08/22/2017 08:08 AM, Peter Maydell wrote:
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.mayd...@linaro.org>
---
target/arm/cpu.h | 3 +++
target/arm/cpu.c | 4 ++++
target/arm/machine.c | 20 ++++++++++++++++++++
target/arm/translate.c | 8 +++++++-
4 files changed, 34 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>