]> Git Repo - J-u-boot.git/commit
efi_selftest: testing read-only variables
authorHeinrich Schuchardt <[email protected]>
Thu, 26 Sep 2019 20:10:25 +0000 (22:10 +0200)
committerHeinrich Schuchardt <[email protected]>
Sun, 6 Oct 2019 14:02:37 +0000 (16:02 +0200)
commit1b7313d91fc6f52368abba409646683410e7bd41
treeaebf34c50153bed4782a778ac023be3d795e0de3
parentc9dd62f9c243f48b0facc5ce252041ccb7a06362
efi_selftest: testing read-only variables

The UEFI spec has this sentence:
"Variables that have runtime access but that are not nonvolatile are
read-only data variables once ExitBootServices() is performed."

At least EDK2 therefore treats variable PlatformLangCodes only as read-only
at runtime. Nowhere do we make this variable read-only in U-Boot.

Do not use variable PlatformLangCodes for testing if the read only
attribute of variables is observed before ExitBootServices().

Fixes: 5a24239c951e ("efi_loader: selftest: enable APPEND_WRITE tests")
Signed-off-by: Heinrich Schuchardt <[email protected]>
lib/efi_selftest/efi_selftest_variables.c
This page took 0.034727 seconds and 4 git commands to generate.