did interrupts stuff

This commit is contained in:
2025-02-22 03:19:05 +00:00
parent d12160c5d0
commit 2ee21dea05
10 changed files with 112 additions and 7 deletions
+6
View File
@@ -1,6 +1,7 @@
#![no_std]
#![feature(abi_x86_interrupt)]
use arch::x86_64::interrupts;
use core::arch::asm;
use limine::request::{RequestsEndMarker, RequestsStartMarker};
use limine::BaseRevision;
@@ -54,5 +55,10 @@ pub fn boot() -> Result<(), &'static str> {
lib_serial::init()?;
arch::x86_64::interrupts::init_idt();
<<<<<<< Updated upstream
=======
x86_64::instructions::interrupts::enable();
>>>>>>> Stashed changes
Ok(())
}