linted code

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2022-12-11 01:39:22 +01:00
1 parent 745b8efb8f
commit b5ebe0d4ad
12 files changed
+72 -62

No files matched your search

+1 -2
View File
@@ -1,11 +1,10 @@
use super::{PICS, InterruptIndex};
use super::{InterruptIndex, PICS};
use x86_64::structures::idt::InterruptStackFrame;
static mut TICKS: u64 = 0;
pub fn gettick() -> u64 {
unsafe { return TICKS }
}
pub extern "x86-interrupt" fn timer_interrupt_handler(_stack_frame: InterruptStackFrame) {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.