Peter Maydell 331f4bae6c nvic: Implement v8M changes to fixed priority exceptions
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.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1505240046-11454-14-git-send-email-peter.maydell@linaro.org
2017-09-21 16:31:09 +01:00
..
2016-10-04 13:28:07 +01:00
2017-09-20 17:35:36 +01:00
2017-09-20 19:05:26 -07:00
2017-08-02 18:30:13 -03:00
2017-09-08 09:30:55 +10:00
2017-09-20 17:35:36 +01:00
2016-05-18 15:04:27 +03:00
2016-01-29 15:07:25 +00:00
2017-08-31 12:29:07 +02:00
2016-10-28 18:17:24 +03:00
2017-09-15 10:29:48 +10:00
2017-08-30 18:23:25 +02:00