1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-27 02:03:29 +04:00
rCore/kernel/src/syscall/time.rs

7 lines
122 B
Rust
Raw Normal View History

2019-02-22 10:10:24 +04:00
//! Syscalls for time
use super::*;
pub fn sys_get_time() -> SysResult {
unsafe { Ok(crate::trap::TICK as isize) }
}