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:
Joel Sherrill
2009-07-10 19:07:54 +00:00
parent 5c736abdfd
commit 36c2586f92
2 changed files with 9 additions and 3 deletions

View File

@@ -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

View File

@@ -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