mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
Add an interrupts module
This commit is contained in:
5
src/interrupts.rs
Normal file
5
src/interrupts.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
use x86_64::structures::idt::InterruptDescriptorTable;
|
||||
|
||||
pub fn init_idt() {
|
||||
let mut idt = InterruptDescriptorTable::new();
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
#![cfg_attr(not(test), no_std)]
|
||||
|
||||
pub mod interrupts;
|
||||
pub mod serial;
|
||||
pub mod vga_buffer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user