diff options
| author | Tianhao Wang <shrik3@mailbox.org> | 2024-04-18 04:28:53 +0200 |
|---|---|---|
| committer | Tianhao Wang <shrik3@mailbox.org> | 2024-06-11 15:16:34 +0200 |
| commit | a0944efb047b0789598edc6236c0287d10aeab60 (patch) | |
| tree | b6c0e0bac72de3d12d747da7042fdba243d4b0fd /src/arch/x86_64/interrupt/mod.rs | |
| parent | 26c7262747930cebbd20dd7194f1245798bacdf6 (diff) | |
chore
Diffstat (limited to 'src/arch/x86_64/interrupt/mod.rs')
| -rw-r--r-- | src/arch/x86_64/interrupt/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
