mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 15:19:31 -04:00
This change serves two purposes.
First, we take advantage of the compiler provided endian definitions to
eliminate some long-standing duplication between the different versions
of this header. __BYTE_ORDER__ has been defined since GCC 4.6, so there
is no need to rely on platform defaults or e.g. __MIPSEB__ to determine
endianness. A new common sub-header is added, but there should be no
changes to the visibility of these definitions.
Second, this eliminates the hand-rolled __bswapNN() routines, again in
favor of the compiler builtins. This was done already for x86 in
|
||
|---|---|---|
| .. | ||
| allwinner | ||
| altera/socfpga | ||
| annapurna/alpine | ||
| arm | ||
| broadcom/bcm2835 | ||
| cloudabi32 | ||
| conf | ||
| freescale | ||
| include | ||
| linux | ||
| mv | ||
| nvidia | ||
| qemu | ||
| rockchip | ||
| ti | ||
| versatile | ||
| xilinx | ||