Changeset a11099f in mainline for boot/arch/ppc32/loader/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
-
boot/arch/ppc32/loader/regname.h
r5360cf0 ra11099f 31 31 32 32 /* Condition Register Bit Fields */ 33 #define cr0034 #define cr1135 #define cr2236 #define cr3337 #define cr4438 #define cr5539 #define cr6640 #define cr7733 #define cr0 0 34 #define cr1 1 35 #define cr2 2 36 #define cr3 3 37 #define cr4 4 38 #define cr5 5 39 #define cr6 6 40 #define cr7 7 41 41 42 42 /* General Purpose Registers (GPRs) */ 43 #define r0044 #define r1145 #define r2246 #define r3347 #define r4448 #define r5549 #define r6650 #define r7751 #define r8852 #define r9953 #define r101054 #define r111155 #define r121256 #define r131357 #define r141458 #define r151559 #define r161660 #define r171761 #define r181862 #define r191963 #define r202064 #define r212165 #define r222266 #define r232367 #define r242468 #define r252569 #define r262670 #define r272771 #define r282872 #define r292973 #define r303074 #define r313143 #define r0 0 44 #define r1 1 45 #define r2 2 46 #define r3 3 47 #define r4 4 48 #define r5 5 49 #define r6 6 50 #define r7 7 51 #define r8 8 52 #define r9 9 53 #define r10 10 54 #define r11 11 55 #define r12 12 56 #define r13 13 57 #define r14 14 58 #define r15 15 59 #define r16 16 60 #define r17 17 61 #define r18 18 62 #define r19 19 63 #define r20 20 64 #define r21 21 65 #define r22 22 66 #define r23 23 67 #define r24 24 68 #define r25 25 69 #define r26 26 70 #define r27 27 71 #define r28 28 72 #define r29 29 73 #define r30 30 74 #define r31 31 75 75 76 76 /* GPR Aliases */ 77 #define sp177 #define sp 1 78 78 79 79 /* Floating Point Registers (FPRs) */ 80 #define fr0081 #define fr1182 #define fr2283 #define fr3384 #define fr4485 #define fr5586 #define fr6687 #define fr7788 #define fr8889 #define fr9990 #define fr101091 #define fr111192 #define fr121293 #define fr131394 #define fr141495 #define fr151596 #define fr161697 #define fr171798 #define fr181899 #define fr1919100 #define fr2020101 #define fr2121102 #define fr2222103 #define fr2323104 #define fr2424105 #define fr2525106 #define fr2626107 #define fr2727108 #define fr2828109 #define fr2929110 #define fr3030111 #define fr3131112 113 #define vr00114 #define vr11115 #define vr22116 #define vr33117 #define vr44118 #define vr55119 #define vr66120 #define vr77121 #define vr88122 #define vr99123 #define vr1010124 #define vr1111125 #define vr1212126 #define vr1313127 #define vr1414128 #define vr1515129 #define vr1616130 #define vr1717131 #define vr1818132 #define vr1919133 #define vr2020134 #define vr2121135 #define vr2222136 #define vr2323137 #define vr2424138 #define vr2525139 #define vr2626140 #define vr2727141 #define vr2828142 #define vr2929143 #define vr3030144 #define vr3131145 146 #define evr00147 #define evr11148 #define evr22149 #define evr33150 #define evr44151 #define evr55152 #define evr66153 #define evr77154 #define evr88155 #define evr99156 #define evr1010157 #define evr1111158 #define evr1212159 #define evr1313160 #define evr1414161 #define evr1515162 #define evr1616163 #define evr1717164 #define evr1818165 #define evr1919166 #define evr2020167 #define evr2121168 #define evr2222169 #define evr2323170 #define evr2424171 #define evr2525172 #define evr2626173 #define evr2727174 #define evr2828175 #define evr2929176 #define evr3030177 #define evr313180 #define fr0 0 81 #define fr1 1 82 #define fr2 2 83 #define fr3 3 84 #define fr4 4 85 #define fr5 5 86 #define fr6 6 87 #define fr7 7 88 #define fr8 8 89 #define fr9 9 90 #define fr10 10 91 #define fr11 11 92 #define fr12 12 93 #define fr13 13 94 #define fr14 14 95 #define fr15 15 96 #define fr16 16 97 #define fr17 17 98 #define fr18 18 99 #define fr19 19 100 #define fr20 20 101 #define fr21 21 102 #define fr22 22 103 #define fr23 23 104 #define fr24 24 105 #define fr25 25 106 #define fr26 26 107 #define fr27 27 108 #define fr28 28 109 #define fr29 29 110 #define fr30 30 111 #define fr31 31 112 113 #define vr0 0 114 #define vr1 1 115 #define vr2 2 116 #define vr3 3 117 #define vr4 4 118 #define vr5 5 119 #define vr6 6 120 #define vr7 7 121 #define vr8 8 122 #define vr9 9 123 #define vr10 10 124 #define vr11 11 125 #define vr12 12 126 #define vr13 13 127 #define vr14 14 128 #define vr15 15 129 #define vr16 16 130 #define vr17 17 131 #define vr18 18 132 #define vr19 19 133 #define vr20 20 134 #define vr21 21 135 #define vr22 22 136 #define vr23 23 137 #define vr24 24 138 #define vr25 25 139 #define vr26 26 140 #define vr27 27 141 #define vr28 28 142 #define vr29 29 143 #define vr30 30 144 #define vr31 31 145 146 #define evr0 0 147 #define evr1 1 148 #define evr2 2 149 #define evr3 3 150 #define evr4 4 151 #define evr5 5 152 #define evr6 6 153 #define evr7 7 154 #define evr8 8 155 #define evr9 9 156 #define evr10 10 157 #define evr11 11 158 #define evr12 12 159 #define evr13 13 160 #define evr14 14 161 #define evr15 15 162 #define evr16 16 163 #define evr17 17 164 #define evr18 18 165 #define evr19 19 166 #define evr20 20 167 #define evr21 21 168 #define evr22 22 169 #define evr23 23 170 #define evr24 24 171 #define evr25 25 172 #define evr26 26 173 #define evr27 27 174 #define evr28 28 175 #define evr29 29 176 #define evr30 30 177 #define evr31 31 178 178 179 179 /* Special Purpose Registers (SPRs) */ 180 #define xer 1 181 #define lr 8 182 #define ctr 9 183 #define dec 22 184 #define sdr1 25 185 #define srr0 26 186 #define srr1 27 187 #define sprg0 272 188 #define sprg1 273 189 #define sprg2 274 190 #define sprg3 275 191 #define prv 287 192 #define ibat0u 528 193 #define ibat0l 529 194 #define ibat1u 530 195 #define ibat1l 531 196 #define ibat2u 532 197 #define ibat2l 533 198 #define ibat3u 534 199 #define ibat3l 535 200 #define dbat0u 536 201 #define dbat0l 537 202 #define dbat1u 538 203 #define dbat1l 539 204 #define dbat2u 540 205 #define dbat2l 541 206 #define dbat3u 542 207 #define dbat3l 543 208 #define hid0 1008 180 #define xer 1 181 #define lr 8 182 #define ctr 9 183 #define dec 22 184 #define sdr1 25 185 #define srr0 26 186 #define srr1 27 187 #define sprg0 272 188 #define sprg1 273 189 #define sprg2 274 190 #define sprg3 275 191 #define prv 287 192 #define ibat0u 528 193 #define ibat0l 529 194 #define ibat1u 530 195 #define ibat1l 531 196 #define ibat2u 532 197 #define ibat2l 533 198 #define ibat3u 534 199 #define ibat3l 535 200 #define dbat0u 536 201 #define dbat0l 537 202 #define dbat1u 538 203 #define dbat1l 539 204 #define dbat2u 540 205 #define dbat2l 541 206 #define dbat3u 542 207 #define dbat3l 543 208 #define tlbmiss 980 209 #define ptehi 981 210 #define ptelo 982 211 #define hid0 1008 209 212 210 213 /* MSR bits */ 211 #define msr_dr 212 #define msr_ir 213 #define msr_pr 214 #define msr_ee 214 #define msr_dr (1 << 4) 215 #define msr_ir (1 << 5) 216 #define msr_pr (1 << 14) 217 #define msr_ee (1 << 15) 215 218 216 219 /* HID0 bits */ 217 #define hid0_sten 218 #define hid0_ice 219 #define hid0_dce 220 #define hid0_icfi 221 #define hid0_dci 220 #define hid0_sten (1 << 24) 221 #define hid0_ice (1 << 15) 222 #define hid0_dce (1 << 14) 223 #define hid0_icfi (1 << 11) 224 #define hid0_dci (1 << 10) 222 225 223 226 #endif
Note:
See TracChangeset
for help on using the changeset viewer.