Lines Matching refs:stack
442 * Save a pointer to the top of the "kernel" stack -
461 * For fast syscall, top of interrupt stack points to pcb stack
483 * Set pointer to PCB's interrupt stack frame in cpu data.
491 /* Interrupt stack is pcb */
495 * Top of temporary sysenter stack points to pcb stack.
522 * Set pointer to PCB's interrupt stack frame in cpu data.
528 /* Top of temporary sysenter stack points to pcb stack */
531 /* Interrupt stack is pcb */
1001 * Code and stack selectors have already been
1037 /* Check pc and stack are canonical addresses */
1069 * Code and stack selectors have already been
1967 vm_offset_t stack = thr_act->kernel_stack;
1970 stack, STACK_IKS(stack)->k_eip, STACK_IKS(stack)->k_ebx,
1971 STACK_IKS(stack)->k_esp, STACK_IEL(stack)->saved_state);
2003 * detach and return a kernel stack from a thread
2009 vm_offset_t stack;
2016 stack = thread->kernel_stack;
2019 return (stack);
2023 * attach a kernel stack to a thread and initialize it
2029 vm_offset_t stack)
2037 assert(stack);
2038 thread->kernel_stack = stack;
2040 statep = STACK_IKS(stack);
2043 statep->k_esp = (unsigned long) STACK_IEL(stack);
2049 * move a stack from old to new thread
2056 vm_offset_t stack;
2061 stack = old->kernel_stack;
2062 if (stack == old->reserved_stack) {
2065 new->reserved_stack = stack;
2070 * because old stack is already initialized.
2072 new->kernel_stack = stack;