On Thu, 17 Mar 2022 at 05:46, Richard Henderson
<richard.hender...@linaro.org> wrote:
>
> Split out do_exception and do_iic_irq to handle bulk of the interrupt and
> exception processing.  Parameterize the changes required to cpu state.
>
> The status.EH bit, which protects some data against double-faults,
> is only present with the MMU.  Several exception cases did not check
> for status.EH being set, as required.
>
> The status.IH bit, which had been set by EXCP_IRQ, is exclusive to
> the external interrupt controller, which we do not yet implement.
> The internal interrupt controller, when the MMU is also present,
> sets the status.EH bit.
>
> Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
> ---

Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>

thanks
-- PMM

Reply via email to