diff --git a/src/interrupts.rs b/src/interrupts.rs new file mode 100644 index 0000000..3e82f38 --- /dev/null +++ b/src/interrupts.rs @@ -0,0 +1,6 @@ + +use x86_64::structures::idt::InterruptDescriptorTable; + +pub fn init_idt() { + let mut idt = InterruptDescriptorTable::new(); +} diff --git a/src/main.rs b/src/main.rs index fb8470e..8038fb2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,6 +3,7 @@ #[macro_use] mod vga_buffer; +mod interrupts; use core::panic::PanicInfo;