On 08/22/2017 08:08 AM, Peter Maydell wrote:
Make the PRIMASK register banked if v8M security extensions are enabled.

Note that we do not yet implement the functionality of the new
AIRCR.PRIS bit (which allows the effect of the NS copy of PRIMASK to
be restricted).

Signed-off-by: Peter Maydell <[email protected]>
---
  target/arm/cpu.h      | 2 +-
  hw/intc/armv7m_nvic.c | 2 +-
  target/arm/helper.c   | 4 ++--
  target/arm/machine.c  | 9 +++++++--
  4 files changed, 11 insertions(+), 6 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to