pub fn finish_initial_context_switch()Expand description
Consumes the CPU-local scheduler switch baton on a fresh context.
The baton is not an IrqGuardToken and never belongs to a task. A
resumed scheduler frame consumes the current CPU’s baton after the raw
switch returns; a fresh trampoline calls this hook exactly once after
completing the switch tail.