LM32: Fix a copy/paste error in lm32_vectors.S that I introduced.

This commit is contained in:
Gregory Nutt 2016-11-04 17:42:10 -06:00
parent 911e5abb2c
commit 6cc73f0405

View File

@ -190,7 +190,7 @@ _do_reset:
/* ra needs to be moved from initial stack location */ /* ra needs to be moved from initial stack location */
w r1, (sp+ 136) lw r1, (sp+ 136)
sw (sp+REG_RA), r1 sw (sp+REG_RA), r1
/* Get IE/REG_INT_CTX */ /* Get IE/REG_INT_CTX */
@ -206,39 +206,39 @@ _do_reset:
.restore_all_and_eret: .restore_all_and_eret:
/* r1 should have the place where we restore ! */ /* r1 should have the place where we restore ! */
w r2, (r1+REG_X2) lw r2, (r1+REG_X2)
w r3, (r1+REG_X3) lw r3, (r1+REG_X3)
w r4, (r1+REG_X4) lw r4, (r1+REG_X4)
w r5, (r1+REG_X5) lw r5, (r1+REG_X5)
w r6, (r1+REG_X6) lw r6, (r1+REG_X6)
w r7, (r1+REG_X7) lw r7, (r1+REG_X7)
w r8, (r1+REG_X8) lw r8, (r1+REG_X8)
w r9, (r1+REG_X9) lw r9, (r1+REG_X9)
w r10, (r1+REG_X10) lw r10, (r1+REG_X10)
w r11, (r1+REG_X11) lw r11, (r1+REG_X11)
w r12, (r1+REG_X12) lw r12, (r1+REG_X12)
w r13, (r1+REG_X13) lw r13, (r1+REG_X13)
w r14, (r1+REG_X14) lw r14, (r1+REG_X14)
w r15, (r1+REG_X15) lw r15, (r1+REG_X15)
w r16, (r1+REG_X16) lw r16, (r1+REG_X16)
w r17, (r1+REG_X17) lw r17, (r1+REG_X17)
w r18, (r1+REG_X18) lw r18, (r1+REG_X18)
w r19, (r1+REG_X19) lw r19, (r1+REG_X19)
w r20, (r1+REG_X20) lw r20, (r1+REG_X20)
w r21, (r1+REG_X21) lw r21, (r1+REG_X21)
w r22, (r1+REG_X22) lw r22, (r1+REG_X22)
w r23, (r1+REG_X23) lw r23, (r1+REG_X23)
w r24, (r1+REG_X24) lw r24, (r1+REG_X24)
w r25, (r1+REG_X25) lw r25, (r1+REG_X25)
w r26, (r1+REG_GP) lw r26, (r1+REG_GP)
w r27, (r1+REG_FP) lw r27, (r1+REG_FP)
w r28, (r1+REG_SP) lw r28, (r1+REG_SP)
w r29, (r1+REG_RA) lw r29, (r1+REG_RA)
w r30, (r1+REG_EA) lw r30, (r1+REG_EA)
w r31, (r1+REG_BA) lw r31, (r1+REG_BA)
lw r1, (r1+REG_INT_CTX) lw r1, (r1+REG_INT_CTX)
wcsr IE, r1 wcsr IE, r1
w r1, (r1+REG_X1) lw r1, (r1+REG_X1)
addi sp, sp, 136 addi sp, sp, 136
eret eret