kernel: exit syscall

This commit is contained in:
Matheus
2023-05-29 10:50:13 -03:00
parent acf4a9819f
commit b9fe4cc3b1
5 changed files with 82 additions and 29 deletions
+3 -1
View File
@@ -12,6 +12,7 @@ extern syscall_fstat
extern syscall_fstatat
extern syscall_fork
extern syscall_execve
extern syscall_exit
syscalltab:
dq syscall_print
dq syscall_mmap
@@ -26,7 +27,8 @@ dq syscall_fstat
dq syscall_fstatat
dq syscall_fork
dq syscall_execve
syscallcount equ 13
dq syscall_exit
syscallcount equ 14
section .text
global arch_syscall_entry
; on entry: