Skip to content

Commit

Permalink
chore: remove explicit dependency on tock-registers
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Oct 4, 2023
1 parent b83b519 commit 0900027
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ x86_64 = "0.14"
aarch64 = { version = "0.0", default-features = false }
arm-gic = { version = "0.1" }
hermit-dtb = { version = "0.1" }
tock-registers = { version = "0.8", default-features = false }

[dev-dependencies]
float-cmp = "0.9"
Expand Down
1 change: 0 additions & 1 deletion src/arch/aarch64/kernel/interrupts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use arm_gic::gicv3::{GicV3, IntId, Trigger};
use hashbrown::HashMap;
use hermit_dtb::Dtb;
use hermit_sync::{InterruptSpinMutex, InterruptTicketMutex, OnceCell};
use tock_registers::interfaces::Readable;

use crate::arch::aarch64::kernel::boot_info;
use crate::arch::aarch64::kernel::core_local::increment_irq_counter;
Expand Down
3 changes: 1 addition & 2 deletions src/arch/aarch64/kernel/processor.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
use core::arch::asm;
use core::{fmt, str};

use aarch64::regs::CNTFRQ_EL0;
use aarch64::regs::{Readable, CNTFRQ_EL0};
use hermit_dtb::Dtb;
use hermit_sync::{without_interrupts, Lazy};
use qemu_exit::QEMUExit;
use tock_registers::interfaces::Readable;

use crate::arch::aarch64::kernel::boot_info;
use crate::env;
Expand Down

0 comments on commit 0900027

Please sign in to comment.