cmd: efidebug: rework "boot dump" sub-command using GetNextVariableName()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 26 Apr 2019 00:44:18 +0000 (09:44 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 2 May 2019 16:17:50 +0000 (18:17 +0200)
commitffe2157447ce0101802e717147001fd59581e759
treec409bd9c4103631a1575b2495bc4223774dc4592
parentd40e05ae95cfdf328ed6940fb48e110dc5da0c77
cmd: efidebug: rework "boot dump" sub-command using GetNextVariableName()

Currently in do_efi_boot_dump(), we directly read EFI variables from
related environment variables. To accommodate alternative storage
backends, we should switch to using the UEFI API instead.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/efidebug.c