fork: properly set up child process
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
ec4e9fc27d
commit
b926d50365
6 changed files with 73 additions and 25 deletions
|
|
@ -5,11 +5,12 @@
|
|||
#include <kernel/types.h>
|
||||
|
||||
struct timespec {
|
||||
i64 tv_sec;
|
||||
time_t tv_sec;
|
||||
i64 tv_nsec;
|
||||
};
|
||||
|
||||
time_t arch_get_real_time();
|
||||
time_t unix_time();
|
||||
u64 tsc_calibrate();
|
||||
u64 rdtsc();
|
||||
struct timespec get_realtime();
|
||||
|
|
|
|||
Loading…
Reference in a new issue