subtle updates
This commit is contained in:
parent
0bf494baf5
commit
09bdfa26df
4
src/driver.rs
Normal file
4
src/driver.rs
Normal file
|
@ -0,0 +1,4 @@
|
|||
pub enum DriverExitCode {
|
||||
Success = 0,
|
||||
Failure = 1,
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#[macro_use]
|
||||
pub mod logger;
|
||||
pub mod driver;
|
||||
pub mod process;
|
||||
pub mod syscalls;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue