Am 30. März 2023 23:31:59 MESZ schrieb Simon Glass <s...@chromium.org>: >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 <s...@chromium.org> >--- > > arch/x86/lib/bios.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/arch/x86/lib/bios.c b/arch/x86/lib/bios.c >index 94349ba8073d..b28db31308f0 100644 >--- a/arch/x86/lib/bios.c >+++ b/arch/x86/lib/bios.c >@@ -78,7 +78,8 @@ static int int_exception_handler(void) > }; > struct eregs *regs = ®_info; > >- debug("Oops, exception %d while executing option rom\n", regs->vector); >+ log_err("Oops, exception %d while executing option rom\n", Please, drop "Oops, " which does not add information. Do we have a function to convert the exception number to a string? %s/rom/ROM/ Regards Heinrich >+ regs->vector); > cpu_hlt(); > > return 0;
- [PATCH 00/38] x86: Use qemu-x86_64 to boot EFI install... Simon Glass
- [PATCH 01/38] x86: Tidy up availability of string... Simon Glass
- [PATCH 02/38] x86: Allow listing MTRRs in SPL Simon Glass
- Re: [PATCH 02/38] x86: Allow listing MTRRs in... Heinrich Schuchardt
- [PATCH 03/38] bios_emulator: Add Kconfig and adju... Simon Glass
- [PATCH 04/38] bios_emulator: Drop VIDEO_IO_OFFSET Simon Glass
- [PATCH 08/38] x86: Show the CPU physical address ... Simon Glass
- [PATCH 06/38] x86: Set high bits of the mtrr base... Simon Glass
- [PATCH 09/38] x86: Correct get_sp() implementatio... Simon Glass
- [PATCH 10/38] x86: Show an error when a BINS exce... Simon Glass
- Re: [PATCH 10/38] x86: Show an error when a B... Heinrich Schuchardt
- [PATCH 07/38] x86: Add a comment for board_init_f... Simon Glass
- Re: [PATCH 07/38] x86: Add a comment for boar... Heinrich Schuchardt
- [PATCH 11/38] acpi: Add a comment to set the acpi... Simon Glass
- [PATCH 15/38] log: Tidy up an ambiguous comment. Simon Glass
- [PATCH 14/38] qfw: Show the file address if avail... Simon Glass
- Re: [PATCH 14/38] qfw: Show the file address ... Heinrich Schuchardt
- Re: [PATCH 14/38] qfw: Show the file addr... Simon Glass
- Re: [PATCH 14/38] qfw: Show the file addr... Mark Kettenis
- [PATCH 16/38] video: Allow building video drivers... Simon Glass
- [PATCH 17/38] qfw: Set the address of the ACPI ta... Simon Glass