efi: clean up efi command
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 27 Aug 2020 10:39:03 +0000 (12:39 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 6 Sep 2020 19:21:41 +0000 (21:21 +0200)
commit5b94e26f1acc665e9b2789a31f3e5a87e23bf38d
tree634aa868a2a235c90785834579a72401406f1d83
parent0f7878b853bdc363a930381c42b709b7d24066b5
efi: clean up efi command

* Eliminate superfluous enum value EFI_TABLE_END.
* Use correct variable type for the memory type.
* Check validity of memory type.
* Make efi_build_mem_table static.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/efi.c
include/efi.h