mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-27 03:13:23 +00:00
Revise safety comments for booting APs
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
d7fbdbfc63
commit
b52d841ac1
@ -29,7 +29,8 @@ pub(crate) unsafe fn late_init_on_bsp() {
|
||||
}
|
||||
irq::init();
|
||||
|
||||
crate::boot::smp::boot_all_aps();
|
||||
// SAFETY: we're on the BSP and we're ready to boot all APs.
|
||||
unsafe { crate::boot::smp::boot_all_aps() };
|
||||
|
||||
timer::init();
|
||||
let _ = pci::init();
|
||||
|
Reference in New Issue
Block a user