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