kernel: poll system and poll syscall

This commit is contained in:
Matheus
2023-07-08 22:02:36 -03:00
parent 0ed524f456
commit e938d0332e
11 changed files with 287 additions and 22 deletions
+5 -3
View File
@@ -4,7 +4,7 @@
#ifdef SYSCALL_LOGGING
#define SYSCALL_COUNT 34
#define SYSCALL_COUNT 35
#define LOGSTR(x) arch_e9_puts(x)
static char *name[] = {
@@ -41,7 +41,8 @@ static char *name[] = {
"readlinkat",
"fchmod",
"fchmodat",
"umask"
"umask",
"poll"
};
static char *args[] = {
@@ -78,7 +79,8 @@ static char *args[] = {
"dirfd %d path %s buffer %p buffer length %lu", // readlinkat
"fd %d mode %o", // fchmod
"dirfd %d path %s mode %o flags %d", // fchmodat
"mode %o" // umask
"mode %o", // umask
"fds %p nfds %d timeout %d" // poll
};
#endif