mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
2009-07-09 Josh Switnicki <josh.switnicki@utoronto.ca>
* cpu_asm.S: Fixed bug in _CPU_Context_Switch. The wrong registers were being used for pointer to running task Context_Control struct.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2009-07-09 Josh Switnicki <josh.switnicki@utoronto.ca>
|
||||||
|
|
||||||
|
* cpu_asm.S: Fixed bug in _CPU_Context_Switch. The wrong registers
|
||||||
|
were being used for pointer to running task Context_Control
|
||||||
|
struct.
|
||||||
|
|
||||||
2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca>
|
2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca>
|
||||||
|
|
||||||
* cpu.c: Implemented _CPU_Context_Initialize as a C function instead
|
* cpu.c: Implemented _CPU_Context_Initialize as a C function instead
|
||||||
|
|||||||
@@ -215,8 +215,8 @@ SYM(_CPU_Context_restore_fp):
|
|||||||
PUBLIC(_CPU_Context_switch)
|
PUBLIC(_CPU_Context_switch)
|
||||||
|
|
||||||
SYM(_CPU_Context_switch):
|
SYM(_CPU_Context_switch):
|
||||||
mov r26, r18
|
mov r26, r24
|
||||||
mov r27, r19
|
mov r27, r25
|
||||||
st X+, r2
|
st X+, r2
|
||||||
st X+, r3
|
st X+, r3
|
||||||
st X+, r4
|
st X+, r4
|
||||||
|
|||||||
Reference in New Issue
Block a user