Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Remove unneeded function
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Jun 13, 2016
1 parent 6de1d26 commit 1f417f5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/interrupts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,20 +189,14 @@ lazy_static! {
let scancode = unsafe { inb(0x60) };
Keyboard.handle_keys(scancode as usize);

send_eoi_for(33);
pic::eoi_for(33);
enable();
}));

idt
};
}

/// This function is needed because the macros can't handle it, but can handle this. For some
/// reason.
fn send_eoi_for(interrupt: isize) {
pic::eoi_for(interrupt);
}

pub fn install() {
IDT.install();
}
Expand Down

0 comments on commit 1f417f5

Please sign in to comment.