Generalize single instruction CPU local operations by cpu_local_cell

This commit is contained in:
Zhang Junyang
2024-08-02 12:28:03 +00:00
committed by Tate, Hongliang Tian
parent d04111079c
commit fe68b4b510
16 changed files with 1100 additions and 499 deletions

View File

@ -115,7 +115,7 @@ fn ap_early_entry(local_apic_id: u32) -> ! {
// SAFETY: we are on the AP.
unsafe {
cpu::cpu_local::init_on_ap(local_apic_id);
cpu::local::init_on_ap(local_apic_id);
}
trap::init();