mirror of
https://github.com/opnsense/src.git
synced 2026-05-15 18:49:57 -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 |
||
|---|---|---|
| .. | ||
| xen | ||
| _align.h | ||
| _inttypes.h | ||
| _limits.h | ||
| _stdint.h | ||
| _types.h | ||
| acpica_machdep.h | ||
| apicreg.h | ||
| apicvar.h | ||
| apm_bios.h | ||
| bus.h | ||
| bus_dma.h | ||
| busdma_impl.h | ||
| cputypes.h | ||
| dump.h | ||
| elf.h | ||
| endian.h | ||
| fdt.h | ||
| float.h | ||
| fpu.h | ||
| frame.h | ||
| ifunc.h | ||
| init.h | ||
| intr_machdep.h | ||
| iommu.h | ||
| legacyvar.h | ||
| mca.h | ||
| metadata.h | ||
| mptable.h | ||
| ofw_machdep.h | ||
| pci_cfgreg.h | ||
| procctl.h | ||
| psl.h | ||
| ptrace.h | ||
| pvclock.h | ||
| reg.h | ||
| segments.h | ||
| setjmp.h | ||
| sigframe.h | ||
| signal.h | ||
| specialreg.h | ||
| stack.h | ||
| stdarg.h | ||
| sysarch.h | ||
| trap.h | ||
| ucode.h | ||
| ucontext.h | ||
| vdso.h | ||
| vmware.h | ||
| x86_smp.h | ||
| x86_var.h | ||