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)