diff options
author | Tom Rini <trini@konsulko.com> | 2019-09-10 08:52:00 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-09-10 08:52:00 -0400 |
commit | 001c8ea94ae710d8340829237a7d788b25ce2ae7 (patch) | |
tree | bbc7a63fc5958c9f1aa7715809d13407dcaa390d /arch/x86/cpu/i386/interrupt.c | |
parent | 3aec234e3f0a35c5d07ae5bb8d4c8dfea4aaf204 (diff) | |
parent | dd4faa964f0741c314b4f1c09f27c07aedc5cdf0 (diff) |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86
- Tangier ACPI table fixes
- Support getting high memory size on QEMU x86
- Show UEFI images involved in crash for x86
- EFI loader conventional memory map fix
Diffstat (limited to 'arch/x86/cpu/i386/interrupt.c')
-rw-r--r-- | arch/x86/cpu/i386/interrupt.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/x86/cpu/i386/interrupt.c b/arch/x86/cpu/i386/interrupt.c index 47df3172b78..1445204878c 100644 --- a/arch/x86/cpu/i386/interrupt.c +++ b/arch/x86/cpu/i386/interrupt.c @@ -12,6 +12,7 @@ #include <common.h> #include <dm.h> +#include <efi_loader.h> #include <asm/control_regs.h> #include <asm/i8259.h> #include <asm/interrupt.h> @@ -64,6 +65,18 @@ static char *exceptions[] = { "Reserved" }; +/** + * show_efi_loaded_images() - show loaded UEFI images + * + * List all loaded UEFI images. + * + * @eip: instruction pointer + */ +static void show_efi_loaded_images(uintptr_t eip) +{ + efi_print_image_infos((void *)eip); +} + static void dump_regs(struct irq_regs *regs) { unsigned long cs, eip, eflags; @@ -144,6 +157,7 @@ static void dump_regs(struct irq_regs *regs) printf("0x%8.8lx : 0x%8.8lx\n", sp, (ulong)readl(sp)); sp -= 4; } + show_efi_loaded_images(eip); } static void do_exception(struct irq_regs *regs) |