]> git.ipfire.org Git - thirdparty/systemd.git/commit
fundamental: split out unaligned_{read|write}_ne{16,32,64}() helpers into unaligned...
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Dec 2022 17:10:42 +0000 (18:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Dec 2022 14:18:47 +0000 (15:18 +0100)
commitd8007e7aacdadc57d2fd9ee3f80f620be781248e
tree2088b29dd58e410a90b4f4b24a24d69d5c06afe8
parent17b296a11839ac63279b89e40cecb4c114c229b2
fundamental: split out unaligned_{read|write}_ne{16,32,64}() helpers into unaligned-fundamental.h

Let's allow using this in code shared between userspace and EFI mode.

Also, don't implement these functions via endianness conversions given
we don't actually want to convert endianess here.
src/basic/unaligned.h
src/fundamental/unaligned-fundamental.h [new file with mode: 0644]