From: Simon Glass Date: Sun, 16 Jul 2023 03:38:44 +0000 (-0600) Subject: x86: Show an error when a BIOS exception occurs X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=78f24d8f3415a9ceec993231b81efaa30e2a3cdc;p=u-boot.git 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 Reviewed-by: Bin Meng --- 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;