Changeset a11099f in mainline for kernel/arch/ppc32/include/asm/regname.h
- Timestamp:
- 2009-08-20T16:52:16Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e731b0d
- Parents:
- 5360cf0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/asm/regname.h
r5360cf0 ra11099f 27 27 */ 28 28 29 /** @addtogroup ppc32 29 /** @addtogroup ppc32 30 30 * @{ 31 31 */ … … 37 37 38 38 /* Condition Register Bit Fields */ 39 #define cr0040 #define cr1141 #define cr2242 #define cr3343 #define cr4444 #define cr5545 #define cr6646 #define cr7739 #define cr0 0 40 #define cr1 1 41 #define cr2 2 42 #define cr3 3 43 #define cr4 4 44 #define cr5 5 45 #define cr6 6 46 #define cr7 7 47 47 48 48 /* General Purpose Registers (GPRs) */ 49 #define r0050 #define r1151 #define r2252 #define r3353 #define r4454 #define r5555 #define r6656 #define r7757 #define r8858 #define r9959 #define r101060 #define r111161 #define r121262 #define r131363 #define r141464 #define r151565 #define r161666 #define r171767 #define r181868 #define r191969 #define r202070 #define r212171 #define r222272 #define r232373 #define r242474 #define r252575 #define r262676 #define r272777 #define r282878 #define r292979 #define r303080 #define r313149 #define r0 0 50 #define r1 1 51 #define r2 2 52 #define r3 3 53 #define r4 4 54 #define r5 5 55 #define r6 6 56 #define r7 7 57 #define r8 8 58 #define r9 9 59 #define r10 10 60 #define r11 11 61 #define r12 12 62 #define r13 13 63 #define r14 14 64 #define r15 15 65 #define r16 16 66 #define r17 17 67 #define r18 18 68 #define r19 19 69 #define r20 20 70 #define r21 21 71 #define r22 22 72 #define r23 23 73 #define r24 24 74 #define r25 25 75 #define r26 26 76 #define r27 27 77 #define r28 28 78 #define r29 29 79 #define r30 30 80 #define r31 31 81 81 82 82 /* GPR Aliases */ 83 #define sp183 #define sp 1 84 84 85 85 /* Floating Point Registers (FPRs) */ 86 #define fr0087 #define fr1188 #define fr2289 #define fr3390 #define fr4491 #define fr5592 #define fr6693 #define fr7794 #define fr8895 #define fr9996 #define fr101097 #define fr111198 #define fr121299 #define fr1313100 #define fr1414101 #define fr1515102 #define fr1616103 #define fr1717104 #define fr1818105 #define fr1919106 #define fr2020107 #define fr2121108 #define fr2222109 #define fr2323110 #define fr2424111 #define fr2525112 #define fr2626113 #define fr2727114 #define fr2828115 #define fr2929116 #define fr3030117 #define fr3131118 119 #define vr00120 #define vr11121 #define vr22122 #define vr33123 #define vr44124 #define vr55125 #define vr66126 #define vr77127 #define vr88128 #define vr99129 #define vr1010130 #define vr1111131 #define vr1212132 #define vr1313133 #define vr1414134 #define vr1515135 #define vr1616136 #define vr1717137 #define vr1818138 #define vr1919139 #define vr2020140 #define vr2121141 #define vr2222142 #define vr2323143 #define vr2424144 #define vr2525145 #define vr2626146 #define vr2727147 #define vr2828148 #define vr2929149 #define vr3030150 #define vr3131151 152 #define evr00153 #define evr11154 #define evr22155 #define evr33156 #define evr44157 #define evr55158 #define evr66159 #define evr77160 #define evr88161 #define evr99162 #define evr1010163 #define evr1111164 #define evr1212165 #define evr1313166 #define evr1414167 #define evr1515168 #define evr1616169 #define evr1717170 #define evr1818171 #define evr1919172 #define evr2020173 #define evr2121174 #define evr2222175 #define evr2323176 #define evr2424177 #define evr2525178 #define evr2626179 #define evr2727180 #define evr2828181 #define evr2929182 #define evr3030183 #define evr313186 #define fr0 0 87 #define fr1 1 88 #define fr2 2 89 #define fr3 3 90 #define fr4 4 91 #define fr5 5 92 #define fr6 6 93 #define fr7 7 94 #define fr8 8 95 #define fr9 9 96 #define fr10 10 97 #define fr11 11 98 #define fr12 12 99 #define fr13 13 100 #define fr14 14 101 #define fr15 15 102 #define fr16 16 103 #define fr17 17 104 #define fr18 18 105 #define fr19 19 106 #define fr20 20 107 #define fr21 21 108 #define fr22 22 109 #define fr23 23 110 #define fr24 24 111 #define fr25 25 112 #define fr26 26 113 #define fr27 27 114 #define fr28 28 115 #define fr29 29 116 #define fr30 30 117 #define fr31 31 118 119 #define vr0 0 120 #define vr1 1 121 #define vr2 2 122 #define vr3 3 123 #define vr4 4 124 #define vr5 5 125 #define vr6 6 126 #define vr7 7 127 #define vr8 8 128 #define vr9 9 129 #define vr10 10 130 #define vr11 11 131 #define vr12 12 132 #define vr13 13 133 #define vr14 14 134 #define vr15 15 135 #define vr16 16 136 #define vr17 17 137 #define vr18 18 138 #define vr19 19 139 #define vr20 20 140 #define vr21 21 141 #define vr22 22 142 #define vr23 23 143 #define vr24 24 144 #define vr25 25 145 #define vr26 26 146 #define vr27 27 147 #define vr28 28 148 #define vr29 29 149 #define vr30 30 150 #define vr31 31 151 152 #define evr0 0 153 #define evr1 1 154 #define evr2 2 155 #define evr3 3 156 #define evr4 4 157 #define evr5 5 158 #define evr6 6 159 #define evr7 7 160 #define evr8 8 161 #define evr9 9 162 #define evr10 10 163 #define evr11 11 164 #define evr12 12 165 #define evr13 13 166 #define evr14 14 167 #define evr15 15 168 #define evr16 16 169 #define evr17 17 170 #define evr18 18 171 #define evr19 19 172 #define evr20 20 173 #define evr21 21 174 #define evr22 22 175 #define evr23 23 176 #define evr24 24 177 #define evr25 25 178 #define evr26 26 179 #define evr27 27 180 #define evr28 28 181 #define evr29 29 182 #define evr30 30 183 #define evr31 31 184 184 185 185 /* Special Purpose Registers (SPRs) */ 186 #define xer1187 #define lr 188 #define ctr 189 #define dec22190 #define sdr125191 #define srr026192 #define srr1 193 #define sprg0272194 #define sprg1273195 #define sprg2274196 #define sprg3275197 #define prv287198 #define ibat0u 199 #define ibat0l 200 #define ibat1u 201 #define ibat1l 202 #define ibat2u 203 #define ibat2l 204 #define ibat3u 205 #define ibat3l 206 #define dbat0u 207 #define dbat0l 208 #define dbat1u 209 #define dbat1l 210 #define dbat2u 211 #define dbat2l 212 #define dbat3u 213 #define dbat3l 214 #define tlbmiss 215 #define ptehi 216 #define ptelo 217 #define hid0 186 #define xer 1 187 #define lr 8 188 #define ctr 9 189 #define dec 22 190 #define sdr1 25 191 #define srr0 26 192 #define srr1 27 193 #define sprg0 272 194 #define sprg1 273 195 #define sprg2 274 196 #define sprg3 275 197 #define prv 287 198 #define ibat0u 528 199 #define ibat0l 529 200 #define ibat1u 530 201 #define ibat1l 531 202 #define ibat2u 532 203 #define ibat2l 533 204 #define ibat3u 534 205 #define ibat3l 535 206 #define dbat0u 536 207 #define dbat0l 537 208 #define dbat1u 538 209 #define dbat1l 539 210 #define dbat2u 540 211 #define dbat2l 541 212 #define dbat3u 542 213 #define dbat3l 543 214 #define tlbmiss 980 215 #define ptehi 981 216 #define ptelo 982 217 #define hid0 1008 218 218 219 219 /* MSR bits */ 220 #define msr_dr 221 #define msr_ir 222 #define msr_pr 223 #define msr_ee 220 #define msr_dr (1 << 4) 221 #define msr_ir (1 << 5) 222 #define msr_pr (1 << 14) 223 #define msr_ee (1 << 15) 224 224 225 225 /* HID0 bits */ 226 #define hid0_sten 227 #define hid0_ice 228 #define hid0_dce 229 #define hid0_icfi 230 #define hid0_dci 226 #define hid0_sten (1 << 24) 227 #define hid0_ice (1 << 15) 228 #define hid0_dce (1 << 14) 229 #define hid0_icfi (1 << 11) 230 #define hid0_dci (1 << 10) 231 231 232 232 #endif
Note:
See TracChangeset
for help on using the changeset viewer.