]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Show an error when a BIOS exception occurs
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:38:44 +0000 (21:38 -0600)
committerBin 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

index 94349ba8073d34cfa9c53c424cc790d044e01533..8cc686fd146b21e8cb988580bdcfa2681ff0dc44 100644 (file)
@@ -78,7 +78,7 @@ static int int_exception_handler(void)
        };
        struct eregs *regs = &reg_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;