diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-03-23 12:07:06 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-03-24 15:21:09 +0100 |
commit | 7be4b23649c02df33e4292f37ffc8aecf512955a (patch) | |
tree | 9418c5876029c06727ea8a2b27d2c066a0532c0c /src/boot/bless-boot.c | |
parent | 8fc5c444268be03329164991c3f1cbe9b35a81e9 (diff) | |
download | systemd-7be4b23649c02df33e4292f37ffc8aecf512955a.tar.gz |
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.
Diffstat (limited to 'src/boot/bless-boot.c')
-rw-r--r-- | src/boot/bless-boot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/bless-boot.c b/src/boot/bless-boot.c index 259ae33bb5..c8bc205d1b 100644 --- a/src/boot/bless-boot.c +++ b/src/boot/bless-boot.c @@ -5,6 +5,7 @@ #include "alloc-util.h" #include "bootspec.h" +#include "efi-api.h" #include "efi-loader.h" #include "efivars.h" #include "fd-util.h" |