fixed triple fault
This commit is contained in:
+4
-4
@@ -87,14 +87,14 @@ pub fn boot() -> Result<(), &'static str> {
|
||||
}
|
||||
println_log!("[Success]");
|
||||
|
||||
print_log!(" Initialising APIC");
|
||||
enable_apic();
|
||||
println_log!("[Success]");
|
||||
|
||||
print_log!(" Setting Up Interrupt Descriptor Table... ");
|
||||
interrupts::init_idt();
|
||||
println_log!("[Success]");
|
||||
|
||||
print_log!(" Initialising APIC");
|
||||
enable_apic(&mut l4_table, &mut frame_allocator);
|
||||
println_log!("[Success]");
|
||||
|
||||
print_log!(" Enabling Interrupts... ");
|
||||
x86_64::instructions::interrupts::enable();
|
||||
println_log!("[Success]");
|
||||
|
||||
Reference in New Issue
Block a user