aboutsummaryrefslogtreecommitdiff
path: root/common/uapi/dispatch.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-06-12 16:18:47 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-06-12 16:18:47 +0300
commit62fc51338d7259c2ea39f38bd8c7d9552e9b2002 (patch)
tree87eb670ed58b3ce0d5c0e2ad39f5c633d9e10e40 /common/uapi/dispatch.c
parent6c529c5c6c2d016d77b143171c5e27fbec0d2bfd (diff)
downloadkmi-62fc51338d7259c2ea39f38bd8c7d9552e9b2002.tar.gz
kmi-62fc51338d7259c2ea39f38bd8c7d9552e9b2002.zip
doxygen shows no warnings
+ Does not mean documentation is done, but it's a nice little achievement nonetheless.
Diffstat (limited to 'common/uapi/dispatch.c')
-rw-r--r--common/uapi/dispatch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/uapi/dispatch.c b/common/uapi/dispatch.c
index 52cf8d9..c2ddbcf 100644
--- a/common/uapi/dispatch.c
+++ b/common/uapi/dispatch.c
@@ -9,6 +9,7 @@
#include <apos/debug.h>
#include <apos/uapi.h>
+/** Syscall number to syscall handler conversion. */
static const sys_t syscall_table[] = {
/* noop */
[SYS_NOOP] = sys_noop,
@@ -43,6 +44,11 @@ static const sys_t syscall_table[] = {
[SYS_POWEROFF] = sys_poweroff,
};
+/**
+ * Noop syscall handler.
+ *
+ * @return \ref OK and \c 0.
+ */
SYSCALL_DEFINE0(noop)(){
info("sys_noop\n");
return (struct sys_ret){ OK, 0 };