[U-Boot] [PATCH v2 2/2] x86: Simplify architecture defined exception handling in irq_llsr()
Simon Glass
sjg at chromium.org
Mon Jul 20 04:04:27 CEST 2015
On 9 July 2015 at 20:51, Bin Meng <bmeng.cn at gmail.com> wrote:
> Instead of using switch..case for architecture defined exceptions,
> simply unify the handling by printing a message of exception name,
> followed by registers dump then halt the CPU.
>
> With this unification, it also fixes the wrong exception numbers
> for #MF/#AC/#MC/#XM which should be 16/17/18/19 not 15/16/17/18.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> Acked-by: Simon Glass <sjg at chromium.org>
>
> ---
>
> Changes in v2: None
>
> arch/x86/cpu/interrupts.c | 151 ++++++++++++++--------------------------------
> 1 file changed, 46 insertions(+), 105 deletions(-)
Applied to u-boot-x86, thanks!
More information about the U-Boot
mailing list