efi: Split out table-listing code into a new file
authorSimon Glass <sjg@chromium.org>
Sun, 19 Mar 2023 19:30:14 +0000 (08:30 +1300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 25 Mar 2023 10:07:22 +0000 (11:07 +0100)
commit041840eeeb129ab979cbc05d6c5fb80162f50add
tree81429a88821eb48c03138af7d5f5b84ea76062ee
parent30c9646eff1e8559865e3eb6581c15e96660d254
efi: Split out table-listing code into a new file

This code is used with EFI_LOADER but is also useful (with some
modifications) for the EFI app and payload. Move it into a shared
file.

Show the address of the table so it can be examined if needed. Also show
the table name as unknown if necessary. Our list of GUIDs is fairly
small.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/Makefile
cmd/efi_common.c [new file with mode: 0644]
cmd/efidebug.c
include/efi.h