armv7m: Escalate exceptions to HardFault if necessary
The v7M exception architecture requires that if a synchronous exception cannot be taken immediately (because it is disabled or at too low a priority) then it should be escalated to HardFault (and the HardFault exception is then taken). Implement this escalation logic. Signed-off-by: NMichael Davidsaver <mdavidsaver@gmail.com> [PMM: extracted from another patch] Signed-off-by: NPeter Maydell <peter.maydell@linaro.org> Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
Showing
想要评论请 注册 或 登录