Re: [PATCH v3 2/4] efi_loader: function to get GUID for variable name

2021-10-06 Thread Ilias Apalodimas
On Sun, Oct 03, 2021 at 11:23:18AM +0200, Heinrich Schuchardt wrote: > 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

[PATCH v3 2/4] efi_loader: function to get GUID for variable name

2021-10-03 Thread Heinrich Schuchardt
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 --- v3: