Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
1 parent
bdf28e38f4
commit
d14ad3a912
3 files changed
+14
-7
No files matched your search
@@ -0,0 +1,10 @@
|
||||
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());
|
||||
}
|
||||
}
|
||||