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

Go to the source code of this file.

Macros

#define __CAT(str1, str2)   str1str2
 
#define CAT(str1, str2)   __CAT(str1, str2)
 
#define CPRESTORE(register)
 
#define CPADD(register)
 
#define CPLOAD(register)
 
#define LEAF(symbol)
 
#define NESTED(symbol, framesize, rpc)
 
#define END(function)
 
#define EXPORT(symbol)
 
#define FEXPORT(symbol)
 
#define ABS(symbol, value)
 
#define PANIC(msg)
 
#define PRINT(string)
 
#define TEXT(msg)
 
#define TTABLE(string)
 
#define PREF(hint, addr)
 
#define PREFX(hint, addr)
 
#define MOVN(rd, rs, rt)
 
#define MOVZ(rd, rs, rt)
 
#define MOVN(rd, rs, rt)
 
#define MOVZ(rd, rs, rt)
 
#define MOVN(rd, rs, rt)   movn rd, rs, rt
 
#define MOVZ(rd, rs, rt)   movz rd, rs, rt
 
#define ALSZ   7
 
#define ALMASK   ~7
 
#define ALSZ   15
 
#define ALMASK   ~15
 
#define SZREG   4
 
#define REG_S   sw
 
#define REG_L   lw
 
#define REG_SUBU   subu
 
#define REG_ADDU   addu
 
#define REG_S   sd
 
#define REG_L   ld
 
#define REG_SUBU   dsubu
 
#define REG_ADDU   daddu
 
#define MFC0   mfc0
 
#define MTC0   mtc0
 
#define MFC0   dmfc0
 
#define MTC0   dmtc0
 
#define SSNOP   sll zero, zero, 1
 
#define R10KCBARRIER(addr)
 

Macro Definition Documentation

#define __CAT (   str1,
  str2 
)    str1str2

Definition at line 26 of file asm.h.

#define ABS (   symbol,
  value 
)
Value:
.globl symbol; \

Definition at line 93 of file asm.h.

#define ALMASK   ~7

Definition at line 217 of file asm.h.

#define ALMASK   ~15

Definition at line 217 of file asm.h.

#define ALSZ   7

Definition at line 216 of file asm.h.

#define ALSZ   15

Definition at line 216 of file asm.h.

#define CAT (   str1,
  str2 
)    __CAT(str1, str2)

Definition at line 28 of file asm.h.

#define CPADD (   register)

Definition at line 44 of file asm.h.

#define CPLOAD (   register)

Definition at line 45 of file asm.h.

#define CPRESTORE (   register)

Definition at line 43 of file asm.h.

#define END (   function)
Value:
.end function; \
.size function, .-function

Definition at line 71 of file asm.h.

#define EXPORT (   symbol)
Value:
.globl symbol; \

Definition at line 78 of file asm.h.

#define FEXPORT (   symbol)
Value:
.globl symbol; \
.type symbol, @function; \

Definition at line 85 of file asm.h.

#define LEAF (   symbol)
Value:
.globl symbol; \
.align 2; \
.type symbol, @function; \
.ent symbol, 0; \
symbol: .frame sp, 0, ra

Definition at line 51 of file asm.h.

#define MFC0   mfc0

Definition at line 395 of file asm.h.

#define MFC0   dmfc0

Definition at line 395 of file asm.h.

#define MOVN (   rd,
  rs,
  rt 
)
Value:
.set push; \
.set reorder; \
beqz rt, 9f; \
move rd, rs; \
.set pop; \
9:

Definition at line 202 of file asm.h.

#define MOVN (   rd,
  rs,
  rt 
)
Value:
.set push; \
.set noreorder; \
bnezl rt, 9f; \
move rd, rs; \
.set pop; \
9:

Definition at line 202 of file asm.h.

#define MOVN (   rd,
  rs,
  rt 
)    movn rd, rs, rt

Definition at line 202 of file asm.h.

#define MOVZ (   rd,
  rs,
  rt 
)
Value:
.set push; \
.set reorder; \
bnez rt, 9f; \
move rd, rs; \
.set pop; \
9:

Definition at line 204 of file asm.h.

#define MOVZ (   rd,
  rs,
  rt 
)
Value:
.set push; \
.set noreorder; \
beqzl rt, 9f; \
move rd, rs; \
.set pop; \
9:

Definition at line 204 of file asm.h.

#define MOVZ (   rd,
  rs,
  rt 
)    movz rd, rs, rt

Definition at line 204 of file asm.h.

#define MTC0   mtc0

Definition at line 396 of file asm.h.

#define MTC0   dmtc0

Definition at line 396 of file asm.h.

#define NESTED (   symbol,
  framesize,
  rpc 
)
Value:
.globl symbol; \
.align 2; \
.type symbol, @function; \
.ent symbol, 0; \
symbol: .frame sp, framesize, rpc

Definition at line 61 of file asm.h.

#define PANIC (   msg)
Value:
.set push; \
.set reorder; \
PTR_LA a0, 8f; \
jal panic; \
9: b 9b; \
.set pop; \
TEXT(msg)

Definition at line 97 of file asm.h.

#define PREF (   hint,
  addr 
)

Definition at line 160 of file asm.h.

#define PREFX (   hint,
  addr 
)

Definition at line 161 of file asm.h.

#define PRINT (   string)

Definition at line 118 of file asm.h.

#define R10KCBARRIER (   addr)

Definition at line 406 of file asm.h.

#define REG_ADDU   addu

Definition at line 247 of file asm.h.

#define REG_ADDU   daddu

Definition at line 247 of file asm.h.

#define REG_L   lw

Definition at line 245 of file asm.h.

#define REG_L   ld

Definition at line 245 of file asm.h.

#define REG_S   sw

Definition at line 244 of file asm.h.

#define REG_S   sd

Definition at line 244 of file asm.h.

#define REG_SUBU   subu

Definition at line 246 of file asm.h.

#define REG_SUBU   dsubu

Definition at line 246 of file asm.h.

#define SSNOP   sll zero, zero, 1

Definition at line 399 of file asm.h.

#define SZREG   4

Definition at line 230 of file asm.h.

#define TEXT (   msg)
Value:
.pushsection .data; \
8: .asciiz msg; \
.popsection;

Definition at line 121 of file asm.h.

#define TTABLE (   string)
Value:
.pushsection .text; \
.word 1f; \
.popsection \
.pushsection .data; \
1: .asciiz string; \
.popsection

Definition at line 129 of file asm.h.