Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs
params.h File Reference

Go to the source code of this file.

Macros

#define BITS_PER_BYTE   8 /* bits in the standard PC/SUN byte */
 
#define LOG_BITS_PER_BYTE   3 /* log base 2 of same */
 
#define BYTE_MASK   ((1U<<BITS_PER_BYTE)-1)
 
#define BITS_PER_AU   8
 
#define LOG_BITS_PER_AU   3
 
#define FMT_UI32   "0x%x"
 
#define FMT8_UI32   "%08x"
 
#define SWAP32BY16(zz)   (((zz) << 16) | ((zz) >> 16))
 
#define SWAP16BY8(zz)   (((zz) << 8) | ((zz) >> 8))
 
#define TARGET_AU_BITS   8 /* width of the target addressable unit */
 
#define LOG_TARGET_AU_BITS   3 /* log2 of same */
 
#define CINIT_DEFAULT_PAGE   0 /* default .cinit page number */
 
#define DATA_RUN2LOAD(zz)   (zz) /* translate data run address to load address */
 
#define DBG_LIST_PAGE   0 /* page number for .dllview section */
 
#define TARGET_WORD_ALIGN(zz)   (zz)
 
#define TDATA_TO_TADDR(zz)   (zz) /* target data address to target AU address */
 
#define TADDR_TO_TDATA(zz)   (zz) /* target AU address to target data address */
 
#define TDATA_AU_BITS   TARGET_AU_BITS /* bits per data AU */
 
#define LOG_TDATA_AU_BITS   LOG_TARGET_AU_BITS
 
#define TADDR_TO_HOST(x)   (x)
 
#define HOST_TO_TADDR(x)   (x)
 
#define TDATA_TO_HOST(x)   (x)
 
#define HOST_TO_TDATA(x)   (x)
 
#define HOST_TO_TDATA_ROUND(x)   (x)
 
#define BYTE_TO_HOST_TDATA_ROUND(x)   BYTE_TO_HOST_ROUND(x)
 
#define BYTE_TO_HOST(x)   (x)
 
#define BYTE_TO_HOST_ROUND(x)   (x)
 
#define HOST_TO_BYTE(x)   (x)
 
#define TADDR_TO_BYTE(x)   (x)
 
#define BYTE_TO_TADDR(x)   (x)
 
#define HOST_ENDIANNESS   0
 
#define TARGET_ENDIANNESS_DIFFERS(rtend)   (rtend)
 
#define TGTAU_BITS   TARGET_AU_BITS
 
#define LOG_TGTAU_BITS   LOG_TARGET_AU_BITS
 

Typedefs

typedef u8 tgt_au_t
 

Macro Definition Documentation

#define BITS_PER_AU   8

Definition at line 44 of file params.h.

#define BITS_PER_BYTE   8 /* bits in the standard PC/SUN byte */

Definition at line 32 of file params.h.

#define BYTE_MASK   ((1U<<BITS_PER_BYTE)-1)

Definition at line 34 of file params.h.

#define BYTE_TO_HOST (   x)    (x)

Definition at line 172 of file params.h.

#define BYTE_TO_HOST_ROUND (   x)    (x)

Definition at line 173 of file params.h.

#define BYTE_TO_HOST_TDATA_ROUND (   x)    BYTE_TO_HOST_ROUND(x)

Definition at line 149 of file params.h.

#define BYTE_TO_TADDR (   x)    (x)

Definition at line 188 of file params.h.

#define CINIT_DEFAULT_PAGE   0 /* default .cinit page number */

Definition at line 96 of file params.h.

#define DATA_RUN2LOAD (   zz)    (zz) /* translate data run address to load address */

Definition at line 100 of file params.h.

#define DBG_LIST_PAGE   0 /* page number for .dllview section */

Definition at line 104 of file params.h.

#define FMT8_UI32   "%08x"

Definition at line 48 of file params.h.

#define FMT_UI32   "0x%x"

Definition at line 47 of file params.h.

#define HOST_ENDIANNESS   0

Definition at line 199 of file params.h.

#define HOST_TO_BYTE (   x)    (x)

Definition at line 174 of file params.h.

#define HOST_TO_TADDR (   x)    (x)

Definition at line 132 of file params.h.

#define HOST_TO_TDATA (   x)    (x)

Definition at line 145 of file params.h.

#define HOST_TO_TDATA_ROUND (   x)    (x)

Definition at line 147 of file params.h.

#define LOG_BITS_PER_AU   3

Definition at line 46 of file params.h.

#define LOG_BITS_PER_BYTE   3 /* log base 2 of same */

Definition at line 33 of file params.h.

#define LOG_TARGET_AU_BITS   3 /* log2 of same */

Definition at line 92 of file params.h.

#define LOG_TDATA_AU_BITS   LOG_TARGET_AU_BITS

Definition at line 116 of file params.h.

#define LOG_TGTAU_BITS   LOG_TARGET_AU_BITS

Definition at line 225 of file params.h.

#define SWAP16BY8 (   zz)    (((zz) << 8) | ((zz) >> 8))

Definition at line 53 of file params.h.

#define SWAP32BY16 (   zz)    (((zz) << 16) | ((zz) >> 16))

Definition at line 52 of file params.h.

#define TADDR_TO_BYTE (   x)    (x)

Definition at line 186 of file params.h.

#define TADDR_TO_HOST (   x)    (x)

Definition at line 130 of file params.h.

#define TADDR_TO_TDATA (   zz)    (zz) /* target AU address to target data address */

Definition at line 114 of file params.h.

#define TARGET_AU_BITS   8 /* width of the target addressable unit */

Definition at line 91 of file params.h.

#define TARGET_ENDIANNESS_DIFFERS (   rtend)    (rtend)

Definition at line 207 of file params.h.

#define TARGET_WORD_ALIGN (   zz)    (zz)

Definition at line 109 of file params.h.

#define TDATA_AU_BITS   TARGET_AU_BITS /* bits per data AU */

Definition at line 115 of file params.h.

#define TDATA_TO_HOST (   x)    (x)

Definition at line 143 of file params.h.

#define TDATA_TO_TADDR (   zz)    (zz) /* target data address to target AU address */

Definition at line 113 of file params.h.

#define TGTAU_BITS   TARGET_AU_BITS

Definition at line 224 of file params.h.

Typedef Documentation

typedef u8 tgt_au_t

Definition at line 212 of file params.h.