diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2022-03-16 17:13:37 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-03-20 11:03:06 +0100 |
commit | ff6af6eede200503c58250821d1285f94039eef7 (patch) | |
tree | bfe5fe0504a63b54db46b277c24c0b321c90defb /lib/efi_loader/efi_device_path.c | |
parent | 0832dd2900f3ec7bf2ae12866138fc0fd9970168 (diff) |
efi_loader: Set variable attributes when EFI_BUFFER_TOO_SMALL is returned
Starting UEFI Spec 2.8 we must fill in the variable attributes when
GetVariable() returns EFI_BUFFER_TOO_SMALL and Attributes is non-NULL.
This code was written with 2.7 in mind so let's move the code around a
bit and fill in the attributes EFI_BUFFER_TOO_SMALL is returned
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
0 files changed, 0 insertions, 0 deletions