byteswap.h File Reference

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER)
static __attribute__ ((always_inline, const)) uint16_t __bswap_variable_16(uint16_t x)


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

static __attribute__ ( (always_inline, const)   )  [inline, static]

Definition at line 6 of file byteswap.h.

References __asm__().

00008 {
00009         __asm__("xchgb %b0,%h0\n\t"
00010                 : "=q" (x)
00011                 : "0" (x));
00012         return x;
00013 }


Generated on Tue Apr 6 20:01:47 2010 for gPXE by  doxygen 1.5.7.1