syscalls: setpriority

This commit is contained in:
Matheus
2026-05-28 23:52:07 -03:00
parent b3312444bf
commit 762552ed5f
4 changed files with 62 additions and 18 deletions
+3 -1
View File
@@ -103,6 +103,7 @@ extern syscall_fstatvfs
extern syscall_fstatvfsat
extern syscall_getsockopt
extern syscall_clock_getres
extern syscall_setpriority
syscalltab:
dq syscall_print
dq syscall_mmap
@@ -208,7 +209,8 @@ dq syscall_fstatvfs
dq syscall_fstatvfsat
dq syscall_getsockopt
dq syscall_clock_getres
syscallcount equ 104
dq syscall_setpriority
syscallcount equ 105
section .text
global arch_syscall_entry
; on entry:
+3 -1
View File
@@ -9,7 +9,7 @@
void arch_interrupt_disable();
void arch_interrupt_enable();
#define SYSCALL_COUNT 104
#define SYSCALL_COUNT 105
#define LOGSTR(x) arch_e9_puts(x)
static char *name[] = {
@@ -117,6 +117,7 @@ static char *name[] = {
"fstatvfsat",
"getsockopt",
"clock_getres",
"setpriority",
};
static char *args[] = {
@@ -224,6 +225,7 @@ static char *args[] = {
"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
"which %d who %d prio %d", // setpriority
};
#endif