coreboot/src/commonlib/bsd
Alex James 0bbc3ccabb commonlib: Add endian definitions for macOS
macOS has never defined the usual endian(3)/byteorder(9) byte-swapping
functions. This change implements these byte-swapping functions using
the OSSwap functions, which provide identical functionality. This was
tested on macOS 10.15.7.

Change-Id: I44d59869a4420030f3ce26118175304c680d57a1
Signed-off-by: Alex James <theracermaster@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60219
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2022-01-04 11:49:38 +00:00
..
include/commonlib/bsd commonlib: Add endian definitions for macOS 2022-01-04 11:49:38 +00:00
cbfs_mcache.c cbfs: mcache: Fix size calculation for perfectly full cache 2021-04-10 00:00:34 +00:00
cbfs_private.c commonlib/cbfs: Fix minor parser edge cases 2021-09-15 01:19:22 +00:00
elog.c elog: calculate year correctly in timestamp 2021-09-23 06:26:19 +00:00
lz4.c.inc
lz4_wrapper.c commonlib/lz4_wrapper.c: do not use bitfields 2021-06-11 07:41:41 +00:00