syscalls: syscall_threadexit

This commit is contained in:
Matheus
2023-01-01 10:47:38 -03:00
parent d5c65a749f
commit a7aa6fbdfd
3 changed files with 36 additions and 2 deletions
+3 -1
View File
@@ -46,7 +46,8 @@ extern syscall_linkat
extern syscall_recvmsg
extern syscall_futex
extern syscall_newthread
func_count equ 45
extern syscall_threadexit
func_count equ 46
func_table:
@@ -95,6 +96,7 @@ func_table:
dq syscall_recvmsg
dq syscall_futex
dq syscall_newthread
dq syscall_threadexit
section .text
global asm_syscall_entry
+3 -1
View File
@@ -47,7 +47,9 @@ static char* syscalls[] = {
"syscall_fchmod",
"syscall_linkat",
"syscall_recvmsg",
"syscall_futex"
"syscall_futex",
"syscall_newthread",
"syscall_threadexit"
};