From 7967a9ab13214543041e4408086668b4db8d3e62 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 18 Apr 2022 21:10:57 +0300 Subject: start working on timer subsys --- include/apos/syscalls.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/apos/syscalls.h') diff --git a/include/apos/syscalls.h b/include/apos/syscalls.h index d2427cf..d9df89b 100644 --- a/include/apos/syscalls.h +++ b/include/apos/syscalls.h @@ -10,6 +10,10 @@ enum { SYS_REQ_FIXMEM, /* request memory at fixed address */ SYS_FREE_MEM, /* free memory */ + /* timers */ + SYS_REQ_TIMER, + SYS_FREE_TIMER, + /* IPC */ /* I really should try to find my notes about the server/client * structure of the OS, but these following syscalls are probably @@ -28,7 +32,7 @@ enum { /* kernel management */ SYS_CONF, /* config system parameters (stack size etc.) */ SYS_POWEROFF, /* shutdown/reboot etc. */ -} +}; /* function declarations should be somewhere else, this file could be used in * userspace applications as well */ -- cgit v1.3