9c1a45cc00
__bswap_ in zephyr/sys/byteorder.h conflicts with __bswap_ in host's byteswap.h. byteswap.h from host compiler used in posix_native_64 boards causes a compilation issue. This commit renames __bswap_ to BSWAP_ to prevent collision. Before this commit a compilation error can be created by adding #include <byteswap.h> to samples/net/sockets/echo/src/socket_echo.c This does not change external API to byteorder.h, but does change internal implementation which some other source files depend on. Replaced manual byteswap operations in devmem_service.c with APIs from byteorder.h which automatically converts to CPU endianess when necessary. Fixes #44324 Signed-off-by: Jonathan Hamberg <jonathanhamberg@gmail.com> |
||
---|---|---|
.. | ||
acpi | ||
c_lib | ||
cbprintf_fp | ||
cbprintf_package | ||
cmsis_dsp | ||
cmsis_nn | ||
cpp | ||
devicetree | ||
fdtable | ||
gui/lvgl | ||
hash_function | ||
hash_map | ||
heap | ||
heap_align | ||
json | ||
linear_range | ||
mem_alloc | ||
mem_blocks | ||
mem_blocks_stats | ||
mpsc_pbuf | ||
multi_heap | ||
newlib | ||
notify | ||
onoff | ||
p4workq | ||
ringbuffer | ||
shared_multi_heap | ||
smf | ||
sprintf | ||
spsc_pbuf | ||
sys_util | ||
thrift/ThriftTest | ||
time |