Enable IRQs before leaving the OSTD boot routine

This commit is contained in:
Zhang Junyang
2024-08-12 13:01:01 +00:00
committed by Tate, Hongliang Tian
parent 20d5212910
commit 491e4325fa
7 changed files with 42 additions and 55 deletions

View File

@ -119,6 +119,7 @@ fn ap_early_entry(local_apic_id: u32) -> ! {
}
trap::init();
crate::arch::irq::enable_local();
// Mark the AP as started.
let ap_boot_info = AP_BOOT_INFO.get().unwrap();