Module cpu

Source
Expand description

CPU-related operations.

Functions§

current_task_ptr
Gets the pointer to the current task with preemption-safety.
set_current_task_ptr
Sets the pointer to the current task with preemption-safety.
this_cpu_id
Returns the ID of the current CPU.
this_cpu_is_bsp
Returns whether the current CPU is the primary CPU (aka the bootstrap processor or BSP)