On 09/12/2017 01:14 PM, Peter Maydell wrote:
> In v7M, the fixed-priority exceptions are:
>  Reset: -3
>  NMI: -2
>  HardFault: -1
> 
> In v8M, this changes because Secure HardFault may need
> to be prioritised above NMI:
>  Reset: -4
>  Secure HardFault if AIRCR.BFHFNMINS == 1: -3
>  NMI: -2
>  Secure HardFault if AIRCR.BFHFNMINS == 0: -1
>  NonSecure HardFault: -1
> 
> Make these changes, including support for changing the
> priority of Secure HardFault as AIRCR.BFHFNMINS changes.
> 
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
> ---
>  hw/intc/armv7m_nvic.c | 22 +++++++++++++++++++---
>  1 file changed, 19 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~


Reply via email to