Create a new interrupts module

This commit is contained in:
Philipp Oppermann
2017-04-18 15:09:03 +02:00
parent 0ddd214a1b
commit c2d22af1c7
2 changed files with 6 additions and 1 deletions

5
src/interrupts.rs Normal file
View File

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

View File

@@ -21,10 +21,10 @@ extern crate x86_64;
#[macro_use]
extern crate once;
extern crate linked_list_allocator;
#[macro_use]
mod vga_buffer;
mod memory;
mod interrupts;
#[no_mangle]
pub extern "C" fn rust_main(multiboot_information_address: usize) {