diff options
author | Masahisa Kojima <masahisa.kojima@linaro.org> | 2023-02-21 11:33:17 +0900 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-03-13 13:56:14 +0100 |
commit | 26a35023c41dcceda057173ac6cdcc1de5fd4f31 (patch) | |
tree | 62ad88c22558368402990319480351398cc38bb7 /lib/efi_loader/efi_console.c | |
parent | 5ee8d90f5469572f3b07d42857012d110476cd2f (diff) |
efi_loader: update SetVariable attribute check
UEFI specification v2.10 says that
EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS is deprecated and
EFI_UNSUPPORTED should be returned in SetVariable variable service.
Current implementation returns EFI_INVALID_PARAMETER,
let's fix the return value.
Together with above change, this commit also updates the SetVariable
attribute check to be aligned with the EDK2 reference implementation.
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_console.c')
0 files changed, 0 insertions, 0 deletions