diff options
author | Geoff Levand <geoff@infradead.org> | 2018-08-10 17:29:14 +0000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-08-14 11:12:02 +1000 |
commit | 15751f10a1368f56ca10b2bc84011253216103aa (patch) | |
tree | db99768c51bbc6fb889f676309a3db3ec16646f2 /test/lib/test-efivar.c | |
parent | 6f157d5e4154069174c6b6268a7f13bb48a74593 (diff) | |
download | talos-petitboot-15751f10a1368f56ca10b2bc84011253216103aa.tar.gz talos-petitboot-15751f10a1368f56ca10b2bc84011253216103aa.zip |
lib/efi: Add new struct efi_mount
To make it easier to manage EFI variables add a new struct efi_mount
that holds the path to the EFI file system mount and the EFI variable
name GUID. Update the lib/efi routines to use struct efi_mount. Add
a new routine efi_check_mount based on the checks done in
platform-arm64.
This change to using struct efi_mount removes the static variable
efivarfs_path making the lib/efi routines stateless.
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'test/lib/test-efivar.c')
0 files changed, 0 insertions, 0 deletions