diff --git a/src/kernel/arch/x86_64/interrupts.rs b/src/kernel/arch/x86_64/interrupts.rs index e4f584b..070f59f 100644 --- a/src/kernel/arch/x86_64/interrupts.rs +++ b/src/kernel/arch/x86_64/interrupts.rs @@ -6,10 +6,9 @@ use x86_64::structures::idt::*; lazy_static! { pub static ref IDT: InterruptDescriptorTable = { - let idt = InterruptDescriptorTable::new(); + InterruptDescriptorTable::new() // TODO: Re-implement this once the x86-interrupt ABI is fixed. // Alternatively: Write our own interrupt handler wrappers. - idt }; } diff --git a/src/kernel/process.rs b/src/kernel/process.rs index ea8ce6b..fb44772 100644 --- a/src/kernel/process.rs +++ b/src/kernel/process.rs @@ -40,7 +40,7 @@ pub struct Process { #[allow(dead_code)] pub fn context_switch() -> ! { - loop {} + todo!() } #[allow(dead_code)]