commit | 3ccd49cab40603c41dd7d1ada0b971d59b93940d | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Fri Jul 10 10:51:23 2015 +0800 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 28 10:36:21 2015 -0600 |
tree | 13c4e5f38319b3ca0e890d0a7cc47d8ccba6d730 | |
parent | 013cf483c9d431e36d4ef2b854ee621cce51b8ce [diff] |
x86: Simplify architecture defined exception handling in irq_llsr() 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>