Skip to main content

Module smp

Module smp 

Source
Expand description

SMP (Symmetric Multi-Processing) boot for x86_64.

Boots Application Processors (APs) using the legacy INIT+SIPI sequence and parks them in an idle loop. Per-CPU data is initialized but no per-CPU scheduler is active yet.

Constants§

TRAMPOLINE_PHYS_ADDR
Physical address where the SMP trampoline is copied.

Functions§

broadcast_panic_halt
Broadcast a halt command to all other CPUs.
cpu_count
Return the number of online CPUs.
init
Boot Application Processors.
open_ap_scheduler_gate
Allow APs to start their local timer and enter the scheduler.
smp_main
First Rust function executed on APs after the trampoline.