summaryrefslogtreecommitdiffstats
path: root/src/cryptsetup
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-03-23 12:07:06 +0100
committerLennart Poettering <lennart@poettering.net>2022-03-24 15:21:09 +0100
commit7be4b23649c02df33e4292f37ffc8aecf512955a (patch)
tree9418c5876029c06727ea8a2b27d2c066a0532c0c /src/cryptsetup
parentefivars: define efi variable flags less weirdly (diff)
downloadsystemd-7be4b23649c02df33e4292f37ffc8aecf512955a.tar.xz
systemd-7be4b23649c02df33e4292f37ffc8aecf512955a.zip
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/cryptsetup')
-rw-r--r--src/cryptsetup/cryptsetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c
index bdb381eecf..22c91c3ffc 100644
--- a/src/cryptsetup/cryptsetup.c
+++ b/src/cryptsetup/cryptsetup.c
@@ -17,7 +17,7 @@
#include "cryptsetup-tpm2.h"
#include "cryptsetup-util.h"
#include "device-util.h"
-#include "efi-loader.h"
+#include "efi-api.h"
#include "env-util.h"
#include "escape.h"
#include "fileio.h"