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

Go to the source code of this file.

Macros

#define zero   $0 /* wired zero */
 
#define AT   $1 /* assembler temp - uppercase because of ".set at" */
 
#define v0   $2 /* return value */
 
#define v1   $3
 
#define a0   $4 /* argument registers */
 
#define a1   $5
 
#define a2   $6
 
#define a3   $7
 
#define t0   $8 /* caller saved */
 
#define t1   $9
 
#define t2   $10
 
#define t3   $11
 
#define t4   $12
 
#define ta0   $12
 
#define t5   $13
 
#define ta1   $13
 
#define t6   $14
 
#define ta2   $14
 
#define t7   $15
 
#define ta3   $15
 
#define s0   $16 /* callee saved */
 
#define s1   $17
 
#define s2   $18
 
#define s3   $19
 
#define s4   $20
 
#define s5   $21
 
#define s6   $22
 
#define s7   $23
 
#define t8   $24 /* caller saved */
 
#define t9   $25
 
#define jp   $25 /* PIC jump register */
 
#define k0   $26 /* kernel scratch */
 
#define k1   $27
 
#define gp   $28 /* global pointer */
 
#define sp   $29 /* stack pointer */
 
#define fp   $30 /* frame pointer */
 
#define s8   $30 /* same like fp! */
 
#define ra   $31 /* return address */
 
#define zero   $0 /* wired zero */
 
#define AT   $at /* assembler temp - uppercase because of ".set at" */
 
#define v0   $2 /* return value - caller saved */
 
#define v1   $3
 
#define a0   $4 /* argument registers */
 
#define a1   $5
 
#define a2   $6
 
#define a3   $7
 
#define a4   $8 /* arg reg 64 bit; caller saved in 32 bit */
 
#define ta0   $8
 
#define a5   $9
 
#define ta1   $9
 
#define a6   $10
 
#define ta2   $10
 
#define a7   $11
 
#define ta3   $11
 
#define t0   $12 /* caller saved */
 
#define t1   $13
 
#define t2   $14
 
#define t3   $15
 
#define s0   $16 /* callee saved */
 
#define s1   $17
 
#define s2   $18
 
#define s3   $19
 
#define s4   $20
 
#define s5   $21
 
#define s6   $22
 
#define s7   $23
 
#define t8   $24 /* caller saved */
 
#define t9   $25 /* callee address for PIC/temp */
 
#define jp   $25 /* PIC jump register */
 
#define k0   $26 /* kernel temporary */
 
#define k1   $27
 
#define gp   $28 /* global pointer - caller saved for PIC */
 
#define sp   $29 /* stack pointer */
 
#define fp   $30 /* frame pointer */
 
#define s8   $30 /* callee saved */
 
#define ra   $31 /* return address */
 

Macro Definition Documentation

#define a0   $4 /* argument registers */

Definition at line 69 of file regdef.h.

#define a0   $4 /* argument registers */

Definition at line 69 of file regdef.h.

#define a1   $5

Definition at line 70 of file regdef.h.

#define a1   $5

Definition at line 70 of file regdef.h.

#define a2   $6

Definition at line 71 of file regdef.h.

#define a2   $6

Definition at line 71 of file regdef.h.

#define a3   $7

Definition at line 72 of file regdef.h.

#define a3   $7

Definition at line 72 of file regdef.h.

#define a4   $8 /* arg reg 64 bit; caller saved in 32 bit */

Definition at line 73 of file regdef.h.

#define a5   $9

Definition at line 75 of file regdef.h.

#define a6   $10

Definition at line 77 of file regdef.h.

#define a7   $11

Definition at line 79 of file regdef.h.

#define AT   $1 /* assembler temp - uppercase because of ".set at" */

Definition at line 66 of file regdef.h.

#define AT   $at /* assembler temp - uppercase because of ".set at" */

Definition at line 66 of file regdef.h.

#define fp   $30 /* frame pointer */

Definition at line 100 of file regdef.h.

#define fp   $30 /* frame pointer */

Definition at line 100 of file regdef.h.

#define gp   $28 /* global pointer */

Definition at line 98 of file regdef.h.

#define gp   $28 /* global pointer - caller saved for PIC */

Definition at line 98 of file regdef.h.

#define jp   $25 /* PIC jump register */

Definition at line 95 of file regdef.h.

#define jp   $25 /* PIC jump register */

Definition at line 95 of file regdef.h.

#define k0   $26 /* kernel scratch */

Definition at line 96 of file regdef.h.

#define k0   $26 /* kernel temporary */

Definition at line 96 of file regdef.h.

macro SAVE_AT set push set noat daddiu LONG_L k1   $27

Definition at line 97 of file regdef.h.

#define k1   $27

Definition at line 97 of file regdef.h.

#define ra   $31 /* return address */

Definition at line 102 of file regdef.h.

#define ra   $31 /* return address */

Definition at line 102 of file regdef.h.

#define s0   $16 /* callee saved */

Definition at line 85 of file regdef.h.

#define s0   $16 /* callee saved */

Definition at line 85 of file regdef.h.

#define s1   $17

Definition at line 86 of file regdef.h.

#define s1   $17

Definition at line 86 of file regdef.h.

#define s2   $18

Definition at line 87 of file regdef.h.

#define s2   $18

Definition at line 87 of file regdef.h.

#define s3   $19

Definition at line 88 of file regdef.h.

#define s3   $19

Definition at line 88 of file regdef.h.

#define s4   $20

Definition at line 89 of file regdef.h.

#define s4   $20

Definition at line 89 of file regdef.h.

#define s5   $21

Definition at line 90 of file regdef.h.

#define s5   $21

Definition at line 90 of file regdef.h.

#define s6   $22

Definition at line 91 of file regdef.h.

#define s6   $22

Definition at line 91 of file regdef.h.

#define s7   $23

Definition at line 92 of file regdef.h.

#define s7   $23

Definition at line 92 of file regdef.h.

#define s8   $30 /* same like fp! */

Definition at line 101 of file regdef.h.

#define s8   $30 /* callee saved */

Definition at line 101 of file regdef.h.

#define sp   $29 /* stack pointer */

Definition at line 99 of file regdef.h.

#define sp   $29 /* stack pointer */

Definition at line 99 of file regdef.h.

#define t0   $8 /* caller saved */

Definition at line 81 of file regdef.h.

#define t0   $12 /* caller saved */

Definition at line 81 of file regdef.h.

#define t1   $9

Definition at line 82 of file regdef.h.

#define t1   $13

Definition at line 82 of file regdef.h.

#define t2   $10

Definition at line 83 of file regdef.h.

#define t2   $14

Definition at line 83 of file regdef.h.

#define t3   $11

Definition at line 84 of file regdef.h.

#define t3   $15

Definition at line 84 of file regdef.h.

#define t4   $12

Definition at line 34 of file regdef.h.

#define t5   $13

Definition at line 36 of file regdef.h.

#define t6   $14

Definition at line 38 of file regdef.h.

#define t7   $15

Definition at line 40 of file regdef.h.

#define t8   $24 /* caller saved */

Definition at line 93 of file regdef.h.

#define t8   $24 /* caller saved */

Definition at line 93 of file regdef.h.

#define t9   $25

Definition at line 94 of file regdef.h.

#define t9   $25 /* callee address for PIC/temp */

Definition at line 94 of file regdef.h.

#define ta0   $12

Definition at line 74 of file regdef.h.

#define ta0   $8

Definition at line 74 of file regdef.h.

#define ta1   $13

Definition at line 76 of file regdef.h.

#define ta1   $9

Definition at line 76 of file regdef.h.

#define ta2   $14

Definition at line 78 of file regdef.h.

#define ta2   $10

Definition at line 78 of file regdef.h.

#define ta3   $15

Definition at line 80 of file regdef.h.

#define ta3   $11

Definition at line 80 of file regdef.h.

#define v0   $2 /* return value */

Definition at line 67 of file regdef.h.

#define v0   $2 /* return value - caller saved */

Definition at line 67 of file regdef.h.

macro kernel_entry_setup set push set CP0_CVMMEMCTL_REG dins ori CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE dmtc0 CP0_CVMMEMCTL_REG dmfc0 CP0_CVMCTL_REG or xor mfc0 CP0_PRID_REG or beq skip nop xor srl sll bne v1   $3

Definition at line 68 of file regdef.h.

#define v1   $3

Definition at line 68 of file regdef.h.

#define zero   $0 /* wired zero */

Definition at line 65 of file regdef.h.

#define zero   $0 /* wired zero */

Definition at line 65 of file regdef.h.