#include <agnix/agnix.h>
#include <agnix/adi/adi.h>
#include <asm/cpu_ops.h>
#include <asm/bitops.h>
Include dependency graph for byteorder.c:
Go to the source code of this file.
Functions | |
u32 | be32_to_le32 (u32 val) |
u16 | be16_to_le16 (u16 val) |
|
Definition at line 25 of file byteorder.c. References __asm__(). 00025 { 00026 __asm__ ("xchgb %b0, %h0" : "=q" (val) : "0" (val)); 00027 00028 return val; 00029 }
Here is the call graph for this function: |
|
Definition at line 19 of file byteorder.c. References __asm__(). 00019 { 00020 __asm__ ("bswap %0" : "=r" (val) : "0" (val)); 00021 00022 return val; 00023 }
Here is the call graph for this function: |