mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 10:33:31 +00:00
Extract shared code from timer
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
c4cb0f1aef
commit
839c2a6689
@ -9,11 +9,9 @@ use core::time::Duration;
|
||||
|
||||
use id_alloc::IdAlloc;
|
||||
use ostd::{
|
||||
arch::{
|
||||
timer::{self, TIMER_FREQ},
|
||||
trap::is_kernel_interrupted,
|
||||
},
|
||||
arch::{timer::TIMER_FREQ, trap::is_kernel_interrupted},
|
||||
sync::Mutex,
|
||||
timer,
|
||||
};
|
||||
|
||||
use super::Process;
|
||||
|
Reference in New Issue
Block a user