commit | 3ac026ae46f2c55b11b9544f7e8770eaadd2982c | [log] [tgz] |
---|---|---|
author | Masahisa Kojima <masahisa.kojima@linaro.org> | Fri Dec 02 13:59:35 2022 +0900 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Fri Dec 02 19:17:25 2022 +0100 |
tree | 474db1ab67ae685cb3755585319c1c5e85cf523c | |
parent | 78b1ccc430e427d0b98e3bfcd04179eb77c14148 [diff] |
efi_loader: utility function to check the variable name is "Boot####" Some commands need to enumerate the existing UEFI load option variable("Boot####"). This commit transfers some code from cmd/efidebug.c to lib/efi_loder/, then exposes efi_varname_is_load_option() function to check whether the UEFI variable name is "Boot####". Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>