diff options
Diffstat (limited to 'include/apos')
| -rw-r--r-- | include/apos/syscalls.h | 2 | ||||
| -rw-r--r-- | include/apos/timer.h | 2 | ||||
| -rw-r--r-- | include/apos/uapi.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/apos/syscalls.h b/include/apos/syscalls.h index 6f9e312..b8553bc 100644 --- a/include/apos/syscalls.h +++ b/include/apos/syscalls.h @@ -15,6 +15,7 @@ enum { SYS_FREE_MEM, /* free memory */ /* timers */ + SYS_TIMEBASE, SYS_REQ_REL_TIMER, SYS_REQ_ABS_TIMER, SYS_FREE_TIMER, @@ -32,7 +33,6 @@ enum { SYS_EXEC, /* execute new binary in process space */ SYS_SIGNAL, /* send signal to process (kill etc.) */ SYS_SWITCH, /* switch running process */ - SYS_SYNC, /* used by init process to synchronize running processes, maybe not used */ /* kernel management */ SYS_CONF, /* config system parameters (stack size etc.) */ diff --git a/include/apos/timer.h b/include/apos/timer.h index e68009a..b506c45 100644 --- a/include/apos/timer.h +++ b/include/apos/timer.h @@ -17,7 +17,7 @@ struct timer { ticks_t ticks; }; -void init_timer(); +void init_timer(const void *fdt); /* set up timer interrupt ticks from now */ id_t new_rel_timer(id_t tid, ticks_t ticks); diff --git a/include/apos/uapi.h b/include/apos/uapi.h index a6fc2b7..b4a3c6f 100644 --- a/include/apos/uapi.h +++ b/include/apos/uapi.h @@ -71,6 +71,7 @@ SYSCALL_DECLARE(req_sharedmem); SYSCALL_DECLARE(free_mem); /* timers */ +SYSCALL_DECLARE(timebase); SYSCALL_DECLARE(req_rel_timer); SYSCALL_DECLARE(req_abs_timer); SYSCALL_DECLARE(free_timer); @@ -85,7 +86,6 @@ SYSCALL_DECLARE(fork); SYSCALL_DECLARE(exec); SYSCALL_DECLARE(signal); SYSCALL_DECLARE(switch); -SYSCALL_DECLARE(sync); /* conf */ SYSCALL_DECLARE(conf); |
