mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +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,4 +1,10 @@
|
|||||||
2009-07-03 Josh Switnicki <josh.switnicki@utoronto.ca>
|
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>
|
||||||
|
|
||||||
* cpu.c: Implemented _CPU_Context_Initialize as a C function instead
|
* cpu.c: Implemented _CPU_Context_Initialize as a C function instead
|
||||||
of a macro. It works with limited functionality. Implemented
|
of a macro. It works with limited functionality. Implemented
|
||||||
|
|||||||
@@ -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