• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/

Lines Matching defs:old

129 	thread_t			old,
138 if (old == new)
143 ppinfo->old_thread = (unsigned int)old;
152 if(fowner->facAct == old) { /* Is it for us? */
158 if(fowner->facAct == old) { /* Is it for us? */
165 * If old thread is running VM, save per proc userProtKey and FamVMmode spcFlags bits in the thread spcFlags
168 if(old->machine.specFlags & runningVM) {
169 old->machine.specFlags &= ~(userProtKey|FamVMmode);
170 old->machine.specFlags |= (ppinfo->spcFlags) & (userProtKey|FamVMmode);
172 old->machine.specFlags &= ~OnProc;
190 if ((old->task->map->pmap != new_pmap) || (old->machine.specFlags & runningVM)) {
195 if(old->machine.umwSpace != invalSpace) { /* Does our old guy have an active window? */
196 old->machine.umwSpace |= umwSwitchAway; /* Show we switched away from this guy */
201 retval = Switch_context(old, continuation, new);
362 * Then we unlock. Next, all of the old kernel contexts are released.
561 * move a stack from old to new thread
566 thread_t old,
577 assert(old);
579 if (old == new)
582 stack = machine_stack_detach(old);
584 if (stack == old->reserved_stack) {
586 old->reserved_stack = new->reserved_stack;
595 if(fowner->facAct == old) { /* Is it for us? */
601 if(fowner->facAct == old) { /* Is it for us? */
608 * If old thread is running VM, save per proc userProtKey and FamVMmode spcFlags bits in the thread spcFlags
611 if(old->machine.specFlags & runningVM) { /* Is the current thread running a VM? */
612 old->machine.specFlags &= ~(userProtKey|FamVMmode);
613 old->machine.specFlags |= (ppinfo->spcFlags) & (userProtKey|FamVMmode);
615 old->machine.specFlags &= ~OnProc;
626 if ((old->task->map->pmap != new_pmap) || (old->machine.specFlags & runningVM)) {
637 old->machine.umwSpace |= umwSwitchAway; /* Show we switched away from this guy */
641 if(trcWork.traceMask) dbgTrace(0x9903, (unsigned int)old, (unsigned int)new, 0, 0); /* Cut trace entry if tracing */