Time (#11)
* WIP: Time syscalls * Count time from PIT using low tickrate * Implement realtime * Implement nanosleep with a tight loop
This commit is contained in:
parent
798f7c8808
commit
64cc730eac
11 changed files with 199 additions and 7 deletions
|
@ -11,6 +11,7 @@ pub const CLONE_VFORK: usize = 0x4000;
|
|||
/// This is an important security measure, since otherwise the process would be able to fork it
|
||||
/// self right after starting, making supervising it impossible.
|
||||
pub const CLONE_SUPERVISE: usize = 0x400000;
|
||||
|
||||
pub const CLOCK_REALTIME: usize = 1;
|
||||
pub const CLOCK_MONOTONIC: usize = 4;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue