mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-27 02:03:29 +04:00
7 lines
122 B
Rust
7 lines
122 B
Rust
|
//! Syscalls for time
|
||
|
|
||
|
use super::*;
|
||
|
|
||
|
pub fn sys_get_time() -> SysResult {
|
||
|
unsafe { Ok(crate::trap::TICK as isize) }
|
||
|
}
|