Lines Matching full:sched
129 // Fn must never return. It should gogo(&g->sched)
132 // Save caller state in g->sched
147 MOVW (g_sched+gobuf_sp)(g), R29 // sp = m->g0->sched.sp
185 // save our state in g->sched. Pretend to
252 // Set g->sched to context in f.
420 // Save state of caller into g->sched. Smashes R1.
520 // Set m->sched.sp = SP, so that if a panic happens
525 // the same SP back to m->sched.sp. That seems redundant,
527 // restore the g->sched.sp from the stack location
537 // Save current m->g0->sched.sp on stack and then set it to SP.
538 // Save current sp in m->g0->sched.sp in preparation for
540 // NOTE: unwindm knows that the saved g->sched.sp is at 4(R29) aka savedsp-8(SP).
549 // save that information (m->curg->sched) so we can restore it.
550 // We can restore m->curg->sched.sp easily, because calling
552 // To save m->curg->sched.pc, we push it onto the stack.
572 // Restore g->sched (== m->curg->sched) from saved values.
578 // Switch back to m->g0's stack and restore m->g0->sched.sp.
579 // (Unlike m->curg, the g0 goroutine never uses sched.pc,