12 lines
202 B
ArmAsm
12 lines
202 B
ArmAsm
.text
|
|
|
|
/*
|
|
* save the old thread's registers,
|
|
* restore the new thread's registers.
|
|
*/
|
|
|
|
.globl thread_switch
|
|
thread_switch:
|
|
/* YOUR CODE HERE */
|
|
ret /* return to ra */
|