]> git.ipfire.org Git - thirdparty/systemd.git/commit
boot: add helper for converting EFI_PHYSICAL_ADDRESS to a pointer
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Sep 2021 19:57:51 +0000 (21:57 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Sep 2021 15:24:28 +0000 (17:24 +0200)
commita0a644be7060bdba77f51addaf415671aa4bfe32
tree34884a9e542b165a78e119f23280503ce8228ed9
parent61b6249552ed7d0ce858f2a413aaf7f65b301769
boot: add helper for converting EFI_PHYSICAL_ADDRESS to a pointer

This isn't trivial when trying to be compatible with 32bit archs, hence
add a set of helper macro-like functions that make the conversion safe.
src/boot/efi/cpio.c
src/boot/efi/devicetree.c
src/boot/efi/linux.c
src/boot/efi/measure.c
src/boot/efi/stub.c
src/boot/efi/util.h