git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6788400
)
x86: Show an error when a BIOS exception occurs
author
Simon Glass
<sjg@chromium.org>
Sun, 16 Jul 2023 03:38:44 +0000
(21:38 -0600)
committer
Bin Meng
<bmeng@tinylab.org>
Mon, 17 Jul 2023 09:08:44 +0000
(17:08 +0800)
Rather than silently hanging, show an error first. This can happen when
there is something wrong with the video BIOS.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/bios.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/bios.c
b/arch/x86/lib/bios.c
index
94349ba
..
8cc686f
100644
(file)
--- a/
arch/x86/lib/bios.c
+++ b/
arch/x86/lib/bios.c
@@
-78,7
+78,7
@@
static int int_exception_handler(void)
};
struct eregs *regs = ®_info;
-
debug("Oops, e
xception %d while executing option rom\n", regs->vector);
+
log_err("E
xception %d while executing option rom\n", regs->vector);
cpu_hlt();
return 0;