subtle updates

This commit is contained in:
Able 2022-04-09 10:01:51 -05:00
parent 0bf494baf5
commit 09bdfa26df
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);