From 619725a5f2f5272f9cbb547ed95c87312c2765a9 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 15 Sep 2022 00:37:13 +0300 Subject: add SYS_TICKS --- include/apos/uapi.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/apos/uapi.h') 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 @@ -311,6 +311,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. * -- cgit v1.3