forked from Imagelibrary/rtems
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
|
||||
of a macro. It works with limited functionality. Implemented
|
||||
|
||||
@@ -215,8 +215,8 @@ SYM(_CPU_Context_restore_fp):
|
||||
PUBLIC(_CPU_Context_switch)
|
||||
|
||||
SYM(_CPU_Context_switch):
|
||||
mov r26, r18
|
||||
mov r27, r19
|
||||
mov r26, r24
|
||||
mov r27, r25
|
||||
st X+, r2
|
||||
st X+, r3
|
||||
st X+, r4
|
||||
|
||||
Reference in New Issue
Block a user