mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-18 03:56:42 +00:00
Extract shared code from timer
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
c4cb0f1aef
commit
839c2a6689
@ -6,10 +6,9 @@
|
||||
use alloc::sync::Arc;
|
||||
use core::sync::atomic::{AtomicU64, Ordering};
|
||||
|
||||
use ostd::arch::{
|
||||
read_tsc,
|
||||
timer::{self, TIMER_FREQ},
|
||||
tsc_freq,
|
||||
use ostd::{
|
||||
arch::{read_tsc, timer::TIMER_FREQ, tsc_freq},
|
||||
timer,
|
||||
};
|
||||
use spin::Once;
|
||||
|
||||
|
Reference in New Issue
Block a user