Add an interrupts module

This commit is contained in:
Philipp Oppermann
2019-01-25 13:47:28 +01:00
parent 59579108a7
commit ade6c99885
2 changed files with 6 additions and 0 deletions

5
src/interrupts.rs Normal file
View File

@@ -0,0 +1,5 @@
use x86_64::structures::idt::InterruptDescriptorTable;
pub fn init_idt() {
let mut idt = InterruptDescriptorTable::new();
}

View File

@@ -1,5 +1,6 @@
#![cfg_attr(not(test), no_std)]
pub mod interrupts;
pub mod serial;
pub mod vga_buffer;