syscalls: implement clock_getres

This commit is contained in:
Matheus
2026-04-23 12:10:26 -03:00
parent 8b41077128
commit a15b034aa8
4 changed files with 103 additions and 8 deletions
+3 -1
View File
@@ -9,7 +9,7 @@
void arch_interrupt_disable();
void arch_interrupt_enable();
#define SYSCALL_COUNT 103
#define SYSCALL_COUNT 104
#define LOGSTR(x) arch_e9_puts(x)
static char *name[] = {
@@ -116,6 +116,7 @@ static char *name[] = {
"fstatvfs",
"fstatvfsat",
"getsockopt",
"clock_getres",
};
static char *args[] = {
@@ -222,6 +223,7 @@ static char *args[] = {
"fd %d ustat %p", // fstatvfs
"dirfd %d path %s ustat %p flags %d", // fstatvfsat
"fd %d level %d optname %d optval %p optlen %p", // getsockopt
"clockid %d timespec %p", // clock_getres
};
#endif