]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot,shared: share the definitions of EFI_LOADER_FEATURE macros
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 2 Jul 2019 11:01:23 +0000 (13:01 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 10 Jul 2019 12:59:48 +0000 (14:59 +0200)
commit91b08bb00fb9b7e1de223709f4564b8fcedc711b
treed7436c669e442b7a14bd965eb38e0a677781140e
parente04df06f5876ec4f3b068bccc5fa4a53ab6bf9b2
boot,shared: share the definitions of EFI_LOADER_FEATURE macros

This means the the code needs to be kept compatible in the shared header,
but I think that still nicer than having two places to declare the same
things.

I added src/boot to -I, so that efi/foo.h needs to be used. This reduces
the potential for accidentally including the wrong header.
meson.build
src/boot/efi/boot.c
src/boot/efi/loader-features.h [new file with mode: 0644]
src/shared/efivars.h