coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
swab.h File Reference
#include <stdint.h>
Include dependency graph for swab.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define swab16(x)   ((uint16_t)__builtin_bswap16(x))
 
#define swab32(x)   ((uint32_t)__builtin_bswap32(x))
 
#define swab64(x)   ((uint64_t)__builtin_bswap64(x))
 

Macro Definition Documentation

◆ swab16

#define swab16 (   x)    ((uint16_t)__builtin_bswap16(x))

Definition at line 48 of file swab.h.

◆ swab32

#define swab32 (   x)    ((uint32_t)__builtin_bswap32(x))

Definition at line 49 of file swab.h.

◆ swab64

#define swab64 (   x)    ((uint64_t)__builtin_bswap64(x))

Definition at line 50 of file swab.h.