diff options
| author | shaojinchun <[email protected]> | 2018-12-04 18:07:38 +0800 |
|---|---|---|
| committer | shaojinchun <[email protected]> | 2018-12-04 18:07:38 +0800 |
| commit | f64b7536e7138ba61ecbc9cded1144265902c0c8 (patch) | |
| tree | 2ae5b308bfc111e5addcbfb9af76663942df6255 /bsp/qemu-vexpress-a9 | |
| parent | aafb1650898db65346611463b977fd3ec616e267 (diff) | |
修正rt_hw_context_switch_interrupt中一处笔误
Diffstat (limited to 'bsp/qemu-vexpress-a9')
| -rw-r--r-- | bsp/qemu-vexpress-a9/cpu/context_gcc.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/qemu-vexpress-a9/cpu/context_gcc.S b/bsp/qemu-vexpress-a9/cpu/context_gcc.S index 2b13690e67..d19a0406a6 100644 --- a/bsp/qemu-vexpress-a9/cpu/context_gcc.S +++ b/bsp/qemu-vexpress-a9/cpu/context_gcc.S @@ -138,7 +138,7 @@ rt_hw_context_switch_interrupt: stmfd sp!, {r2} @ push old task's pc stmfd sp!, {r4-r12,lr}@ push old task's lr,r12-r4 - ldmfd r0, {r4-r7} @ restore r0-r3 of the interrupt thread + ldmfd r1, {r4-r7} @ restore r0-r3 of the interrupt thread stmfd sp!, {r4-r7} @ push old task's r0-r3 stmfd sp!, {r3} @ push old task's cpsr |
