commit | e618d1d285172232c2799bd175b51f63c846f777 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Thu Sep 09 08:22:58 2021 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Oct 25 21:13:06 2021 +0200 |
tree | 866b9979ae4ad4e6082054be2cdb821185027afa | |
parent | d47671c631c3f3f3bbf0a33f6bf8afeebfe8c091 [diff] |
efi_loader: function to get GUID for variable name In multiple places we need the default GUID matching a variable name. The patch provides a library function. For secure boot related variables like 'PK', 'KEK', 'db' a lookup table is used. For all other variable names EFI_GLOBAL_VARIABLE is returned. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>