Revision 44e04d3b

b/target-openrisc/cpu.h
89 89
/* Interrupt */
90 90
#define NR_IRQS  32
91 91

  
92
/* Registers */
93
enum {
94
    R0 = 0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10,
95
    R11, R12, R13, R14, R15, R16, R17, R18, R19, R20,
96
    R21, R22, R23, R24, R25, R26, R27, R28, R29, R30,
97
    R31
98
};
99

  
100
/* Register aliases */
101
enum {
102
    R_ZERO = R0,
103
    R_SP = R1,
104
    R_FP = R2,
105
    R_LR = R9,
106
    R_RV = R11,
107
    R_RVH = R12
108
};
109

  
110 92
/* Unit presece register */
111 93
enum {
112 94
    UPR_UP = (1 << 0),

Also available in: Unified diff