#include "sys/Syscall.h" #include "thread/Scheduler.h" Result sys_getpid(Registers*, SyscallArgs) { return Scheduler::current()->id; } Result sys_getppid(Registers*, SyscallArgs) { return Scheduler::current()->parent_id; }