]> git.ipfire.org Git - thirdparty/systemd.git/commit
efi-loader: split efi-api.[ch] from efi-loader.[ch] 22840/head
authorLennart Poettering <lennart@poettering.net>
Wed, 23 Mar 2022 11:07:06 +0000 (12:07 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 Mar 2022 14:21:09 +0000 (15:21 +0100)
commit7be4b23649c02df33e4292f37ffc8aecf512955a
tree9418c5876029c06727ea8a2b27d2c066a0532c0c
parent8fc5c444268be03329164991c3f1cbe9b35a81e9
efi-loader: split efi-api.[ch] from efi-loader.[ch]

Some refactoring: split efi-loader.[ch] in two: isolate the calls that
implement out boot loader interface spec, and those which implement
access to upstream UEFI firmware features.

They are quite different in nature and behaviour, and even semantically
it makes to keep these two separate. At the very least because the
previous name "efi-loader.[ch]" suggests all was about loader-specific
APIs, but much of it is generic uefi stuff...

While we are at it, I renamed a bunch of return parameters to follow our
usual ret_xyz naming. But besides renaming no real code changes.
src/boot/bless-boot.c
src/boot/bootctl.c
src/cryptsetup/cryptsetup.c
src/login/logind-dbus.c
src/shared/condition.c
src/shared/efi-api.c [new file with mode: 0644]
src/shared/efi-api.h [new file with mode: 0644]
src/shared/efi-loader.c
src/shared/efi-loader.h
src/shared/meson.build