mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37: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)]
|
#![cfg_attr(not(test), no_std)]
|
||||||
|
|
||||||
|
pub mod interrupts;
|
||||||
pub mod serial;
|
pub mod serial;
|
||||||
pub mod vga_buffer;
|
pub mod vga_buffer;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user