diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-09-12 19:14:00 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-09-21 16:31:09 +0100 |
commit | 331f4bae6c514a719676d803625cfe197d81a91c (patch) | |
tree | 6985d6daf412f1570ba58bd4c5b1bcc2cb06534d /thunk.c | |
parent | 94a34abe32fcdc70b3ee388ccf48b6d3d1aedcfc (diff) |
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
Diffstat (limited to 'thunk.c')
0 files changed, 0 insertions, 0 deletions