forked from Imagelibrary/rtems
2009-04-06 Michael Walle <michael@walle.cc>
* cpu_asm.S: We cannot use any other register than r0 without saving them to the stack. (_ISR_Handler clears r0 right at the beginning)
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-04-06 Michael Walle <michael@walle.cc>
|
||||||
|
|
||||||
|
* cpu_asm.S: We cannot use any other register than r0 without saving
|
||||||
|
them to the stack. (_ISR_Handler clears r0 right at the beginning)
|
||||||
|
|
||||||
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
* cpu.c, rtems/score/cpu.h: Change prototype of IDLE thread to
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ _CPU_Context_restore:
|
|||||||
|
|
||||||
.globl _ISR_Handler
|
.globl _ISR_Handler
|
||||||
_ISR_Handler:
|
_ISR_Handler:
|
||||||
|
xor r0, r0, r0
|
||||||
addi sp, sp, -128
|
addi sp, sp, -128
|
||||||
sw (sp+4), r1
|
sw (sp+4), r1
|
||||||
sw (sp+8), r2
|
sw (sp+8), r2
|
||||||
|
|||||||
Reference in New Issue
Block a user