Go to the documentation of this file.
21 #ifndef __ARCH_ABI_H__
23 #if !defined __need_int_reg_t && !defined __DOXYGEN__
24 # define __ARCH_ABI_H__
29 #ifndef __INT_REG_BITS
32 #if defined __tilegx__
33 # define __INT_REG_BITS 64
34 #elif defined __tilepro__
35 # define __INT_REG_BITS 32
36 #elif !defined __need_int_reg_t
38 # define __INT_REG_BITS CHIP_WORD_SIZE()
40 # error Unrecognized architecture with __need_int_reg_t
43 #if __INT_REG_BITS == 64
54 #define __INT_REG_FMT "ll"
67 #define __INT_REG_FMT "l"
73 #ifndef __need_int_reg_t
85 #define INT_REG_FMT __INT_REG_FMT
88 #define INT_REG_BITS __INT_REG_BITS
99 #define TREG_LAST_GPR 55
117 #define TREG_SYSCALL_NR 10
120 #define TREG_SYSCALL_NR_NAME r10
127 #define C_ABI_SAVE_AREA_SIZE (2 * (INT_REG_BITS / 8))
133 #define INFO_OP_CANNOT_BACKTRACE 2
139 #undef __need_int_reg_t