aboutsummaryrefslogtreecommitdiff
path: root/include/apos/uapi.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-09-15 00:37:13 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-09-15 00:37:13 +0300
commit619725a5f2f5272f9cbb547ed95c87312c2765a9 (patch)
tree0df807325009b7b0b6f5dddfd8d07f746678460a /include/apos/uapi.h
parent30055ec1753b5f8cfc2940dba5d4188475fdbf7f (diff)
downloadkmi-619725a5f2f5272f9cbb547ed95c87312c2765a9.tar.gz
kmi-619725a5f2f5272f9cbb547ed95c87312c2765a9.zip
add SYS_TICKS
Diffstat (limited to 'include/apos/uapi.h')
-rw-r--r--include/apos/uapi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/apos/uapi.h b/include/apos/uapi.h
index 1ebdc21..29e15dc 100644
--- a/include/apos/uapi.h
+++ b/include/apos/uapi.h
@@ -312,6 +312,17 @@ SYSCALL_DECLARE1(free_mem, start);
SYSCALL_DECLARE0(timebase);
/**
+ * Get current ticks.
+ *
+ * @param a Unused.
+ * @param b Unused.
+ * @param c Unused.
+ * @param d Unused.
+ * @return Current ticks.
+ */
+SYSCALL_DECLARE0(ticks);
+
+/**
* Request relative timer syscall.
*
* Request timer that triggers a number of ticks in the future.