Start interrupt table
This commit is contained in:
parent
5be5acfef9
commit
c07949da0e
6
src/interrupts.rs
Normal file
6
src/interrupts.rs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
use x86_64::structures::idt::InterruptDescriptorTable;
|
||||||
|
|
||||||
|
pub fn init_idt() {
|
||||||
|
let mut idt = InterruptDescriptorTable::new();
|
||||||
|
}
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
mod vga_buffer;
|
mod vga_buffer;
|
||||||
|
mod interrupts;
|
||||||
|
|
||||||
use core::panic::PanicInfo;
|
use core::panic::PanicInfo;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user