Add the inter-processor-call facilities

This commit is contained in:
Zhang Junyang
2024-08-15 19:43:37 +08:00
committed by Tate, Hongliang Tian
parent 63364813a8
commit 425027677b
4 changed files with 114 additions and 2 deletions

View File

@ -39,6 +39,7 @@ pub mod logger;
pub mod mm;
pub mod panicking;
pub mod prelude;
pub mod smp;
pub mod sync;
pub mod task;
pub mod trap;
@ -90,6 +91,8 @@ pub unsafe fn init() {
unsafe { trap::softirq::init() };
arch::init_on_bsp();
smp::init();
bus::init();
// SAFETY: This function is called only once on the BSP.