diff options
Diffstat (limited to 'src/arch')
| -rw-r--r-- | src/arch/x86_64/context.rs | 2 | ||||
| -rw-r--r-- | src/arch/x86_64/interrupt/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86_64/context.rs b/src/arch/x86_64/context.rs index 37b6c2f..6c46271 100644 --- a/src/arch/x86_64/context.rs +++ b/src/arch/x86_64/context.rs @@ -23,6 +23,6 @@ pub unsafe fn settle() { // regs->rsp = sp; } -pub unsafe fn switch(ctx_curr: usize, ctx_next: usize) { +pub unsafe fn switch(_ctx_curr: usize, _ctx_next: usize) { todo!() } diff --git a/src/arch/x86_64/interrupt/mod.rs b/src/arch/x86_64/interrupt/mod.rs index d961480..7e0cbb8 100644 --- a/src/arch/x86_64/interrupt/mod.rs +++ b/src/arch/x86_64/interrupt/mod.rs @@ -57,7 +57,7 @@ impl GateDescriptor64 { #[no_mangle] #[cfg(target_arch = "x86_64")] -extern "C" fn interrupt_gate(slot: u16) { +extern "C" fn interrupt_gate(_slot: u16) { interrupt_disable(); // NOTE: the interrupt handler should NEVER block on a lock; in this case // the CGA screen is protected by a spinlock. The lock holder will never be |
