diff --git a/src/interrupts.rs b/src/interrupts.rs new file mode 100644 index 00000000..f9b98fd9 --- /dev/null +++ b/src/interrupts.rs @@ -0,0 +1,5 @@ +use x86_64::structures::idt::InterruptDescriptorTable; + +pub fn init_idt() { + let mut idt = InterruptDescriptorTable::new(); +} diff --git a/src/lib.rs b/src/lib.rs index 9d52b3be..2bb61615 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,6 @@ #![cfg_attr(not(test), no_std)] +pub mod interrupts; pub mod serial; pub mod vga_buffer;