setup GDT & fixed a deadlock

This commit is contained in:
2025-02-22 15:41:41 +00:00
parent 28afe25cca
commit 0bbbf653f8
5 changed files with 95 additions and 4 deletions
+1
View File
@@ -53,6 +53,7 @@ pub fn boot() -> Result<(), &'static str> {
}
lib_serial::init()?;
arch::x86_64::gdt::init();
arch::x86_64::interrupts::init_idt();
x86_64::instructions::interrupts::enable();