mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 05:58:22 +00:00
gettid syscall, fix issues with vmm and mmap syscall
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include <kernel/syscalls.h>
|
||||
#include <arch/cls.h>
|
||||
|
||||
syscallret syscall_gettid(){
|
||||
syscallret retv;
|
||||
retv.errno = 0;
|
||||
retv.ret = arch_getcls()->thread->tid;
|
||||
return retv;
|
||||
}
|
||||
Reference in New Issue
Block a user