Changes in kernel/arch/ppc32/src/asm.S [52c0b8c:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/asm.S
r52c0b8c r9d58539 29 29 #include <arch/asm/regname.h> 30 30 #include <arch/msr.h> 31 #include <arch/istate_struct.h>32 31 33 32 .text … … 60 59 mtsrr0 r5 61 60 62 /* Set pr ivilegedstate, enable interrupts */61 /* Set problem state, enable interrupts */ 63 62 64 63 ori r31, r31, MSR_PR … … 86 85 mtmsr r31 87 86 88 lwz r0, ISTATE_OFFSET_R0(sp)89 lwz r2, ISTATE_OFFSET_R2(sp)90 lwz r3, ISTATE_OFFSET_R3(sp)91 lwz r4, ISTATE_OFFSET_R4(sp)92 lwz r5, ISTATE_OFFSET_R5(sp)93 lwz r6, ISTATE_OFFSET_R6(sp)94 lwz r7, ISTATE_OFFSET_R7(sp)95 lwz r8, ISTATE_OFFSET_R8(sp)96 lwz r9, ISTATE_OFFSET_R9(sp)97 lwz r10, ISTATE_OFFSET_R10(sp)98 lwz r11, ISTATE_OFFSET_R11(sp)99 lwz r13, ISTATE_OFFSET_R13(sp)100 lwz r14, ISTATE_OFFSET_R14(sp)101 lwz r15, ISTATE_OFFSET_R15(sp)102 lwz r16, ISTATE_OFFSET_R16(sp)103 lwz r17, ISTATE_OFFSET_R17(sp)104 lwz r18, ISTATE_OFFSET_R18(sp)105 lwz r19, ISTATE_OFFSET_R19(sp)106 lwz r20, ISTATE_OFFSET_R20(sp)107 lwz r21, ISTATE_OFFSET_R21(sp)108 lwz r22, ISTATE_OFFSET_R22(sp)109 lwz r23, ISTATE_OFFSET_R23(sp)110 lwz r24, ISTATE_OFFSET_R24(sp)111 lwz r25, ISTATE_OFFSET_R25(sp)112 lwz r26, ISTATE_OFFSET_R26(sp)113 lwz r27, ISTATE_OFFSET_R27(sp)114 lwz r28, ISTATE_OFFSET_R28(sp)115 lwz r29, ISTATE_OFFSET_R29(sp)116 lwz r30, ISTATE_OFFSET_R30(sp)117 lwz r31, ISTATE_OFFSET_R31(sp)118 119 lwz r12, ISTATE_OFFSET_CR(sp)87 lwz r0, 8(sp) 88 lwz r2, 12(sp) 89 lwz r3, 16(sp) 90 lwz r4, 20(sp) 91 lwz r5, 24(sp) 92 lwz r6, 28(sp) 93 lwz r7, 32(sp) 94 lwz r8, 36(sp) 95 lwz r9, 40(sp) 96 lwz r10, 44(sp) 97 lwz r11, 48(sp) 98 lwz r13, 52(sp) 99 lwz r14, 56(sp) 100 lwz r15, 60(sp) 101 lwz r16, 64(sp) 102 lwz r17, 68(sp) 103 lwz r18, 72(sp) 104 lwz r19, 76(sp) 105 lwz r20, 80(sp) 106 lwz r21, 84(sp) 107 lwz r22, 88(sp) 108 lwz r23, 92(sp) 109 lwz r24, 96(sp) 110 lwz r25, 100(sp) 111 lwz r26, 104(sp) 112 lwz r27, 108(sp) 113 lwz r28, 112(sp) 114 lwz r29, 116(sp) 115 lwz r30, 120(sp) 116 lwz r31, 124(sp) 117 118 lwz r12, 128(sp) 120 119 mtcr r12 121 120 122 lwz r12, ISTATE_OFFSET_PC(sp)121 lwz r12, 132(sp) 123 122 mtsrr0 r12 124 123 125 lwz r12, ISTATE_OFFSET_SRR1(sp)124 lwz r12, 136(sp) 126 125 mtsrr1 r12 127 126 128 lwz r12, ISTATE_OFFSET_LR(sp)127 lwz r12, 140(sp) 129 128 mtlr r12 130 129 131 lwz r12, ISTATE_OFFSET_CTR(sp)130 lwz r12, 144(sp) 132 131 mtctr r12 133 132 134 lwz r12, ISTATE_OFFSET_XER(sp)133 lwz r12, 148(sp) 135 134 mtxer r12 136 135 137 lwz r12, ISTATE_OFFSET_R12(sp)138 lwz sp, ISTATE_OFFSET_SP(sp)136 lwz r12, 156(sp) 137 lwz sp, 160(sp) 139 138 140 139 rfi … … 153 152 mtmsr r31 154 153 155 lwz r0, ISTATE_OFFSET_R0(sp)156 lwz r2, ISTATE_OFFSET_R2(sp)157 lwz r4, ISTATE_OFFSET_R4(sp)158 lwz r5, ISTATE_OFFSET_R5(sp)159 lwz r6, ISTATE_OFFSET_R6(sp)160 lwz r7, ISTATE_OFFSET_R7(sp)161 lwz r8, ISTATE_OFFSET_R8(sp)162 lwz r9, ISTATE_OFFSET_R9(sp)163 lwz r10, ISTATE_OFFSET_R10(sp)164 lwz r11, ISTATE_OFFSET_R11(sp)165 lwz r13, ISTATE_OFFSET_R13(sp)166 lwz r14, ISTATE_OFFSET_R14(sp)167 lwz r15, ISTATE_OFFSET_R15(sp)168 lwz r16, ISTATE_OFFSET_R16(sp)169 lwz r17, ISTATE_OFFSET_R17(sp)170 lwz r18, ISTATE_OFFSET_R18(sp)171 lwz r19, ISTATE_OFFSET_R19(sp)172 lwz r20, ISTATE_OFFSET_R20(sp)173 lwz r21, ISTATE_OFFSET_R21(sp)174 lwz r22, ISTATE_OFFSET_R22(sp)175 lwz r23, ISTATE_OFFSET_R23(sp)176 lwz r24, ISTATE_OFFSET_R24(sp)177 lwz r25, ISTATE_OFFSET_R25(sp)178 lwz r26, ISTATE_OFFSET_R26(sp)179 lwz r27, ISTATE_OFFSET_R27(sp)180 lwz r28, ISTATE_OFFSET_R28(sp)181 lwz r29, ISTATE_OFFSET_R29(sp)182 lwz r30, ISTATE_OFFSET_R30(sp)183 lwz r31, ISTATE_OFFSET_R31(sp)184 185 lwz r12, ISTATE_OFFSET_CR(sp)154 lwz r0, 8(sp) 155 lwz r2, 12(sp) 156 lwz r4, 20(sp) 157 lwz r5, 24(sp) 158 lwz r6, 28(sp) 159 lwz r7, 32(sp) 160 lwz r8, 36(sp) 161 lwz r9, 40(sp) 162 lwz r10, 44(sp) 163 lwz r11, 48(sp) 164 lwz r13, 52(sp) 165 lwz r14, 56(sp) 166 lwz r15, 60(sp) 167 lwz r16, 64(sp) 168 lwz r17, 68(sp) 169 lwz r18, 72(sp) 170 lwz r19, 76(sp) 171 lwz r20, 80(sp) 172 lwz r21, 84(sp) 173 lwz r22, 88(sp) 174 lwz r23, 92(sp) 175 lwz r24, 96(sp) 176 lwz r25, 100(sp) 177 lwz r26, 104(sp) 178 lwz r27, 108(sp) 179 lwz r28, 112(sp) 180 lwz r29, 116(sp) 181 lwz r30, 120(sp) 182 lwz r31, 124(sp) 183 184 lwz r12, 128(sp) 186 185 mtcr r12 187 186 188 lwz r12, ISTATE_OFFSET_PC(sp)187 lwz r12, 132(sp) 189 188 mtsrr0 r12 190 189 191 lwz r12, ISTATE_OFFSET_SRR1(sp)190 lwz r12, 136(sp) 192 191 mtsrr1 r12 193 192 194 lwz r12, ISTATE_OFFSET_LR(sp)193 lwz r12, 140(sp) 195 194 mtlr r12 196 195 197 lwz r12, ISTATE_OFFSET_CTR(sp)196 lwz r12, 144(sp) 198 197 mtctr r12 199 198 200 lwz r12, ISTATE_OFFSET_XER(sp)199 lwz r12, 148(sp) 201 200 mtxer r12 202 201 203 lwz r12, ISTATE_OFFSET_R12(sp)204 lwz sp, ISTATE_OFFSET_SP(sp)202 lwz r12, 156(sp) 203 lwz sp, 160(sp) 205 204 206 205 rfi
Note:
See TracChangeset
for help on using the changeset viewer.