qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [Qemu-devel] [PATCH 13/19] nvic: Implement v8M changes to


From: Richard Henderson
Subject: Re: [Qemu-arm] [Qemu-devel] [PATCH 13/19] nvic: Implement v8M changes to fixed priority exceptions
Date: Tue, 19 Sep 2017 13:54:49 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

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 <address@hidden>
> ---
>  hw/intc/armv7m_nvic.c | 22 +++++++++++++++++++---
>  1 file changed, 19 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <address@hidden>

r~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]