Lines Matching refs:stack
116 .macro SWITCH_ASYNC savearea,stack,shift
127 0: lg %r14,\stack # are we already on the target stack?
134 1: lg %r15,\stack # load target stack
181 stg %r15,__THREAD_ksp(%r2) # store kernel stack of prev
185 aghi %r15,STACK_INIT # end of kernel stack of next
188 stg %r15,__LC_KERNEL_STACK # store end of kernel stack
191 lg %r15,__THREAD_ksp(%r3) # load kernel stack of next
536 # Before any work can be done, a switch to the kernel stack is required.
547 # switch to kernel stack
564 # Need to do work before returning to userspace, switch to kernel stack
739 lg %r1,__LC_KERNEL_STACK # switch to kernel stack
776 aghi %r15,-__PT_SIZE # create pt_regs on stack
781 aghi %r15,-STACK_FRAME_OVERHEAD # create stack frame on stack
806 lg %r15,__LC_PANIC_STACK # change to panic stack
905 stg %r15,56(%r11) # r15 stack pointer