arch_ctl syscall

it controls architecture specific things such as the GSBASE in x86_64
This commit is contained in:
Matheus
2022-08-18 20:42:03 -03:00
parent 0984a6458d
commit da99da2b36
3 changed files with 35 additions and 1 deletions
+3 -1
View File
@@ -3,12 +3,14 @@ section .rodata
extern syscall_libc_log
extern syscall_mmap
func_count equ 2
extern syscall_arch_ctl
func_count equ 3
func_table:
dq syscall_libc_log
dq syscall_mmap
dq syscall_arch_ctl
section .text
global asm_syscall_entry