Lines Matching +full:sub +full:- +full:processor

44  * a thread can only run on one processor at a time. there
46 * processor is capable of being dispatched by another processor.
49 * are the same, resume() on one processor will spin on the incoming
50 * thread until resume() on the other processor has finished with
69 save %sp, -SA(MINFRAME), %sp ! save ins and locals
84 ! This handles floating-point state saving.
142 ldn [%i0 + T_PROCP], %i3 ! delay slot - get proc pointer
144 mov THREAD_REG, %o0 ! delay - arg = thread pointer
146 ldn [THREAD_REG + T_PROCP], %i2 ! load old curproc - for mmu
153 sub %o1, SA(MINFRAME), %sp ! save room for ins and locals
165 ! to allow it to be dispatched by another processor.
167 clrb [%l3 + T_LOCK] ! clear tp->t_lock
187 ldx [%i3 + P_AS], %o0 ! load p->p_as
259 ldn [%o0 + SCD_SFMMUP], %o0 ! %o0 = scdp->scd_sfmmup
280 ldx [%i0 + T_PC], %i7 ! delay - restore resuming thread's pc
285 ! XXX - Move migration statistic out of here
290 ldn [%i0 + T_LWP], %o1 ! delay - get associated lwp (if any)
315 sub %o0, SA(MINFRAME), %sp ! in case of intr or trap before restore
318 ! Restore resuming thread's GSR reg and floating-point regs
346 ! Zero resuming thread's fp registers, for *all* non-fp program
357 mov -1, %o1
367 sub %o0, SA(MINFRAME), %sp ! in case of intr or trap before restore
370 ! Restore resuming thread's GSR reg and floating-point regs
396 mov THREAD_REG, %o0 ! delay slot - arg = thread pointer
434 ! lock failed - spin with regular load to avoid cache-thrashing.
440 ldstub [%i0 + T_LOCK], %o0 ! delay - lock curthread's mutex
445 save %sp, -SA(MINFRAME), %sp ! save ins and locals
461 sub %o1, SA(MINFRAME), %sp ! save room for ins and locals
465 ! Put the zombie on death-row.
471 mov -1, %o1
475 stn %o2, [%i1 + CPU_THREAD] ! delay - CPU's thread = idle
489 save %sp, -SA(MINFRAME), %sp ! save ins and locals
493 ! to save the floating-point state if fprs has been
496 ! doesn't retain their floating-point registers when
514 stn %fp, [THREAD_REG + T_SP] ! delay - save sp
533 sub %o0, SA(MINFRAME), %sp ! in case of intr or trap before restore
535 clrb [%l3 + T_LOCK] ! clear intr thread's tp->t_lock
545 ! We're resuming a non-interrupt thread.
574 ! We're a non-interrupt thread and cpu_kprunrun is set. call kpreempt.