Add abstractions for Clock and Timer

This commit is contained in:
Chen Chengjun
2024-05-16 15:45:44 +08:00
committed by Tate, Hongliang Tian
parent 0d5131c822
commit d019de29f9
21 changed files with 756 additions and 220 deletions

View File

@ -3,6 +3,7 @@
//! Read the Cpu context content then dispatch syscall to corrsponding handler
//! The each sub module contains functions that handle real syscall logic.
use aster_frame::cpu::UserContext;
pub use clock_gettime::ClockID;
use crate::prelude::*;