Prepare aster-time for platform-dependent implementations

This commit is contained in:
YanWQ-monad
2024-07-28 10:10:44 +08:00
committed by Tate, Hongliang Tian
parent acb4833aae
commit 97fab9edea
5 changed files with 190 additions and 99 deletions

View File

@ -9,7 +9,7 @@ use core::sync::atomic::{AtomicU64, Ordering};
use ostd::arch::{
read_tsc,
timer::{self, TIMER_FREQ},
x86::tsc_freq,
tsc_freq,
};
use spin::Once;