subtle updates

pull/1/head
Able 2022-04-09 10:01:51 -05:00
parent dedbb769ba
commit 74dae25602
Signed by: able
GPG Key ID: D164AF5F5700BE51
3 changed files with 8 additions and 1 deletions

4
src/driver.rs Normal file
View File

@ -0,0 +1,4 @@
pub enum DriverExitCode {
Success = 0,
Failure = 1,
}

View File

@ -2,6 +2,7 @@
#[macro_use]
pub mod logger;
pub mod driver;
pub mod process;
pub mod syscalls;

View File

@ -15,7 +15,9 @@ extern "C" {
pub fn sleep(time: SecondsTime);
/// Get the current time in seconds, milliseconds
pub fn get_time() -> SecondsTime;
///
/// Temporarily returns an i64 instead of a SecondsTime
pub fn get_time() -> i64;
/// Set the current time in seconds, milliseconds
pub fn set_time(time: SecondsTime);