Crate ap_start

source ·
Expand description

Routines for booting up secondary CPU cores, aka application processors (APs) on x86_64.

Statics

  • An atomic flag used for synchronizing progress between the BSP and the AP that is currently being booted. False means the AP hasn’t started or hasn’t yet finished booting.

Functions

  • Insert a new stack that was allocated for the AP with the given cpu_id.
  • Entry to rust for an AP. The arguments must match the invocation order in “ap_boot.asm”
  • Remove the stack that was allocated for the AP with the given cpu_id.