[U-Boot] [PATCH 2/2] x86: Simplify architecture defined exception handling in irq_llsr()

Simon Glass sjg at chromium.org
Fri Jul 10 00:00:45 CEST 2015


On 7 July 2015 at 23:17, 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>
> ---
>
>  arch/x86/cpu/interrupts.c | 151 ++++++++++++++--------------------------------
>  1 file changed, 46 insertions(+), 105 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list