fork: properly set up child process

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-22 00:06:57 -04:00
commit b926d50365
6 changed files with 73 additions and 25 deletions

View file

@ -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();