Home | History | Annotate | Download | only in runtime

Lines Matching full:sched

144 // Fn must never return. It should gogo(&g->sched)
147 // Save caller state in g->sched
165 MOVD R0, RSP // sp = m->g0->sched.sp
206 // save our state in g->sched. Pretend to
277 // Set g->sched to context in f
477 // Save state of caller into g->sched. Smashes R0.
588 // Set m->sched.sp = SP, so that if a panic happens
593 // the same SP back to m->sched.sp. That seems redundant,
595 // restore the g->sched.sp from the stack location
606 // Save current m->g0->sched.sp on stack and then set it to SP.
607 // Save current sp in m->g0->sched.sp in preparation for
609 // NOTE: unwindm knows that the saved g->sched.sp is at 16(RSP) aka savedsp-16(SP).
620 // save that information (m->curg->sched) so we can restore it.
621 // We can restore m->curg->sched.sp easily, because calling
623 // To save m->curg->sched.pc, we push it onto the stack.
644 // Restore g->sched (== m->curg->sched) from saved values.
651 // Switch back to m->g0's stack and restore m->g0->sched.sp.
652 // (Unlike m->curg, the g0 goroutine never uses sched.pc,