Create interrupt module with IDT submodule

This commit is contained in:
Philipp Oppermann
2016-05-28 15:22:18 +02:00
parent 245125cb4a
commit b84c5822df
4 changed files with 110 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ extern crate bitflags;
extern crate x86;
#[macro_use]
extern crate once;
extern crate bit_field;
extern crate hole_list_allocator;
extern crate alloc;
@@ -30,6 +31,8 @@ extern crate collections;
mod vga_buffer;
mod memory;
mod interrupts;
#[no_mangle]
pub extern "C" fn rust_main(multiboot_information_address: usize) {
// ATTENTION: we have a very small stack and no guard page