Start interrupt table

This commit is contained in:
greg 2019-07-11 02:27:58 -07:00
parent 5be5acfef9
commit c07949da0e
2 changed files with 7 additions and 0 deletions

6
src/interrupts.rs Normal file
View File

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

View File

@ -3,6 +3,7 @@
#[macro_use]
mod vga_buffer;
mod interrupts;
use core::panic::PanicInfo;