1 2 3 4 5 6 7 8 9 10 11
.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 */