212
212
lctl %c4,%c4,__TASK_pid(%r3) # load pid to control reg. 4
213
213
lm %r6,%r15,__SF_GPRS(%r15) # load gprs of next task
214
214
st %r3,__LC_CURRENT # store task struct of next
215
216
st %r5,__LC_THREAD_INFO # store thread info of next
216
217
ahi %r5,STACK_SIZE # end of kernel stack of next
217
218
st %r5,__LC_KERNEL_STACK # store end of kernel stack