diff options
Diffstat (limited to 'common/uapi/dispatch.c')
| -rw-r--r-- | common/uapi/dispatch.c | 6 |
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 }; |
