Skip to main content

lapic_timer_entry

Function lapic_timer_entry 

Source
unsafe extern "C" fn lapic_timer_entry() -> !
Expand description

Raw Local APIC timer interrupt entry.

Saves registers in exactly the same order as SyscallFrame, calls the Rust inner handler, then restores the interrupted context and returns with iretq. This avoids the extern "x86-interrupt" ABI mismatch with the legacy ret-based scheduler switch path.