xv6-lab/user/uthread_switch.S
Frans Kaashoek ddee41d96a thread lab
2022-10-17 08:20:05 -04:00

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 */