did interrupts stuff
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user