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
View File
@@ -1,6 +1,9 @@
#ifndef _SYSCALLS_H_INCLUDE
#define _SYSCALLS_H_INCLUDE
#include <stddef.h>
#include <sys/types.h>
typedef struct {
long ret;
long errno;