Julien CLEMENT
d14ad3a912
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
11 lines
307 B
Rust
11 lines
307 B
Rust
use super::{PICS, InterruptIndex};
|
|
use x86_64::structures::idt::InterruptStackFrame;
|
|
|
|
pub extern "x86-interrupt" fn timer_interrupt_handler(_stack_frame: InterruptStackFrame) {
|
|
// print!(".");
|
|
unsafe {
|
|
PICS.lock()
|
|
.notify_end_of_interrupt(InterruptIndex::Timer.as_u8());
|
|
}
|
|
}
|