include/sysdata.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __swswap16(x)
#define __swswap32(x)
#define __swswap64(x)
#define archtosword16(x)   (x)
#define archtosword32(x)   (x)
#define archtosword64(x)   (x)
#define swordtoarch16(x)   (x)
#define swordtoarch32(x)   (x)
#define swordtoarch64(x)   (x)

Typedefs

typedef signed short __s16
typedef signed int __s32
typedef signed long long __s64
typedef signed char __s8
typedef unsigned short __u16
typedef unsigned int __u32
typedef unsigned long long __u64
typedef unsigned char __u8

Define Documentation

#define __swswap16 (  ) 
Value:
((__u16)( \
        (((__u16)(x) & (__u16)0x00ffU) << 8) | \
        (((__u16)(x) & (__u16)0xff00U) >> 8) ))

Definition at line 36 of file sysdata.h.

#define __swswap32 (  ) 
Value:
((__u32)( \
        (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \
        (((__u32)(x) & (__u32)0x0000ff00UL) <<  8) | \
        (((__u32)(x) & (__u32)0x00ff0000UL) >>  8) | \
        (((__u32)(x) & (__u32)0xff000000UL) >> 24) ))

Definition at line 42 of file sysdata.h.

#define __swswap64 (  ) 
Value:
((__u64)( \
        (__u64)(((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
        (__u64)(((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \
        (__u64)(((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \
        (__u64)(((__u64)(x) & (__u64)0x00000000ff000000ULL) <<  8) | \
           (__u64)(((__u64)(x) & (__u64)0x000000ff00000000ULL) >>  8) | \
        (__u64)(((__u64)(x) & (__u64)0x0000ff0000000000ULL) >> 24) | \
        (__u64)(((__u64)(x) & (__u64)0x00ff000000000000ULL) >> 40) | \
        (__u64)(((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56) ))

Definition at line 50 of file sysdata.h.

#define archtosword16 (  )     (x)

Definition at line 69 of file sysdata.h.

#define archtosword32 (  )     (x)

Definition at line 70 of file sysdata.h.

#define archtosword64 (  )     (x)

Definition at line 71 of file sysdata.h.

#define swordtoarch16 (  )     (x)

Definition at line 66 of file sysdata.h.

#define swordtoarch32 (  )     (x)

Definition at line 67 of file sysdata.h.

#define swordtoarch64 (  )     (x)

Definition at line 68 of file sysdata.h.


Typedef Documentation

typedef signed short __s16

Definition at line 15 of file sysdata.h.

typedef signed int __s32

Definition at line 18 of file sysdata.h.

typedef signed long long __s64

Definition at line 28 of file sysdata.h.

typedef signed char __s8

Definition at line 12 of file sysdata.h.

typedef unsigned short __u16

Definition at line 16 of file sysdata.h.

typedef unsigned int __u32

Definition at line 19 of file sysdata.h.

typedef unsigned long long __u64

Definition at line 29 of file sysdata.h.

typedef unsigned char __u8

Definition at line 13 of file sysdata.h.


Generated on 18 Mar 2013 for The SWORD Project by  doxygen 1.6.1