Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
asm-compat.h File Reference
#include <asm/types.h>
#include <asm/ppc-opcode.h>

Go to the source code of this file.

Macros

#define __stringify_in_c(...)   #__VA_ARGS__
 
#define stringify_in_c(...)   __stringify_in_c(__VA_ARGS__) " "
 
#define __ASM_CONST(x)   x##UL
 
#define ASM_CONST(x)   __ASM_CONST(x)
 
#define PPC_LL   stringify_in_c(lwz)
 
#define PPC_STL   stringify_in_c(stw)
 
#define PPC_STLU   stringify_in_c(stwu)
 
#define PPC_LCMPI   stringify_in_c(cmpwi)
 
#define PPC_LONG   stringify_in_c(.long)
 
#define PPC_LONG_ALIGN   stringify_in_c(.balign 4)
 
#define PPC_TLNEI   stringify_in_c(twnei)
 
#define PPC_LLARX(t, a, b, eh)   PPC_LWARX(t, a, b, eh)
 
#define PPC_STLCX   stringify_in_c(stwcx.)
 
#define PPC_CNTLZL   stringify_in_c(cntlzw)
 
#define PPC_MTOCRF   stringify_in_c(mtcrf)
 
#define PPC_LR_STKOFF   4
 
#define PPC_MIN_STKFRM   16
 

Macro Definition Documentation

#define __ASM_CONST (   x)    x##UL

Definition at line 14 of file asm-compat.h.

#define __stringify_in_c (   ...)    #__VA_ARGS__

Definition at line 12 of file asm-compat.h.

#define ASM_CONST (   x)    __ASM_CONST(x)

Definition at line 15 of file asm-compat.h.

#define PPC_CNTLZL   stringify_in_c(cntlzw)

Definition at line 47 of file asm-compat.h.

#define PPC_LCMPI   stringify_in_c(cmpwi)

Definition at line 41 of file asm-compat.h.

#define PPC_LL   stringify_in_c(lwz)

Definition at line 38 of file asm-compat.h.

#define PPC_LLARX (   t,
  a,
  b,
  eh 
)    PPC_LWARX(t, a, b, eh)

Definition at line 45 of file asm-compat.h.

#define PPC_LONG   stringify_in_c(.long)

Definition at line 42 of file asm-compat.h.

#define PPC_LONG_ALIGN   stringify_in_c(.balign 4)

Definition at line 43 of file asm-compat.h.

#define PPC_LR_STKOFF   4

Definition at line 49 of file asm-compat.h.

#define PPC_MIN_STKFRM   16

Definition at line 50 of file asm-compat.h.

#define PPC_MTOCRF   stringify_in_c(mtcrf)

Definition at line 48 of file asm-compat.h.

#define PPC_STL   stringify_in_c(stw)

Definition at line 39 of file asm-compat.h.

#define PPC_STLCX   stringify_in_c(stwcx.)

Definition at line 46 of file asm-compat.h.

#define PPC_STLU   stringify_in_c(stwu)

Definition at line 40 of file asm-compat.h.

#define PPC_TLNEI   stringify_in_c(twnei)

Definition at line 44 of file asm-compat.h.

#define stringify_in_c (   ...)    __stringify_in_c(__VA_ARGS__) " "

Definition at line 13 of file asm-compat.h.