diff options
author | Simon Glass <sjg@chromium.org> | 2023-07-16 06:38:44 +0300 |
---|---|---|
committer | Bin Meng <bmeng@tinylab.org> | 2023-07-17 12:08:44 +0300 |
commit | 78f24d8f3415a9ceec993231b81efaa30e2a3cdc (patch) | |
tree | 64b9aec8ef54824171893614d9de9b4f5140f5ec /arch/x86 | |
parent | 67884002f48ecf9e39f9402bc3866c8674ada563 (diff) | |
download | u-boot-78f24d8f3415a9ceec993231b81efaa30e2a3cdc.tar.xz |
x86: Show an error when a BIOS exception occurs
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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/lib/bios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/bios.c b/arch/x86/lib/bios.c index 94349ba807..8cc686fd14 100644 --- 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, exception %d while executing option rom\n", regs->vector); + log_err("Exception %d while executing option rom\n", regs->vector); cpu_hlt(); return 0; |