mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 01:13:23 +00:00
Implement cpu_local with GS and ensure GS points to TSS
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
52bde1721e
commit
c2f7a10b84
@ -121,7 +121,7 @@ fn ap_early_entry(local_apic_id: u32) -> ! {
|
||||
|
||||
// SAFETY: this function is only called once on this AP.
|
||||
unsafe {
|
||||
trapframe::init();
|
||||
crate::arch::trap::init(false);
|
||||
}
|
||||
|
||||
// SAFETY: this function is only called once on this AP, after the BSP has
|
||||
|
Reference in New Issue
Block a user