
20 Jul
2015
20 Jul
'15
4:04 a.m.
On 9 July 2015 at 20:51, Bin Meng bmeng.cn@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@gmail.com Acked-by: Simon Glass sjg@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!