221
220
lctl %c4,%c4,__TASK_pid(%r3) # load pid to control reg. 4
222
221
lmg %r6,%r15,__SF_GPRS(%r15) # load gprs of next task
223
222
stg %r3,__LC_CURRENT # store task struct of next
224
224
stg %r5,__LC_THREAD_INFO # store thread info of next
225
225
aghi %r5,STACK_SIZE # end of kernel stack of next
226
226
stg %r5,__LC_KERNEL_STACK # store end of kernel stack