aboutsummaryrefslogtreecommitdiff
path: root/include/apos/syscalls.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-04-18 21:10:57 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-04-21 12:12:38 +0300
commit7967a9ab13214543041e4408086668b4db8d3e62 (patch)
tree4dab7b89bd9d5b5b8280877f9d8eb23a1edf1230 /include/apos/syscalls.h
parent1ceed7525272b82c1028ebd353e65c3a63bd2714 (diff)
downloadkmi-7967a9ab13214543041e4408086668b4db8d3e62.tar.gz
kmi-7967a9ab13214543041e4408086668b4db8d3e62.zip
start working on timer subsys
Diffstat (limited to 'include/apos/syscalls.h')
-rw-r--r--include/apos/syscalls.h6
1 files changed, 5 insertions, 1 deletions
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 */