Lines Matching defs:stack
242 * at the base of the kernel stack (see stack_attach()).
356 * context be pushed on the stack.
492 * detach and return a kernel stack from a thread
499 vm_offset_t stack;
507 stack = thread->kernel_stack;
509 return(stack);
513 * attach a kernel stack to a thread and initialize it
515 * attaches a stack to a thread. if there is no save
518 * stack pointer, and a std kernel MSR. if the top
527 vm_offset_t stack)
536 assert(stack);
537 kss = (unsigned int *)STACK_IKS(stack);
538 thread->kernel_stack = stack;
561 * move a stack from old to new thread
570 vm_offset_t stack;
582 stack = machine_stack_detach(old);
583 new->kernel_stack = stack;
584 if (stack == old->reserved_stack) {
587 new->reserved_stack = stack;
649 * clean and initialize the current kernel stack and go to