]> git.sur5r.net Git - u-boot/commit
efi_loader: new functions to print loaded image information
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Apr 2018 09:56:21 +0000 (11:56 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 5 Apr 2018 13:23:55 +0000 (15:23 +0200)
commitc9a63f44b526696a60e275087d79fe709f65f48b
tree63d8b40ed39dba0bd4f5864b26e3f95844a09057
parent1348c17ab2584151d5c0c7a6ac1b17b929521bad
efi_loader: new functions to print loaded image information

Introduce functions to print information about loaded images.

If we want to analyze an exception in an EFI image we need the offset
between the PC and the start of the loaded image.

With efi_print_image_info() we can print the necessary information for a
single image, e.g.

UEFI image [0xbffe6000:0xbffe631f] pc=0x138 '/\snp.efi'

efi_print_image_infos() provides output for all loaded images.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_loader.h
lib/efi_loader/efi_image_loader.c