Skip to main content

start_first_task

Function start_first_task 

Source
pub unsafe fn start_first_task(ctx: *const ProcessContext)
Expand description

ยงSafety

Caller must ensure ctx points to a valid, properly initialised ProcessContext that matches the task the scheduler has selected as current. This function disables interrupts and jumps into assembly (__start_first_task) which never returns.