Split processctl() syscall into multiple smaller ones
This commit is contained in:
18
kernel/syscall/proc.h
Normal file
18
kernel/syscall/proc.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef SYSCALL_PROC_H_
|
||||
#define SYSCALL_PROC_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include "syscall.h"
|
||||
|
||||
int32_t SYSCALL1(sys_proc_kill, pid1);
|
||||
int32_t SYSCALL3(sys_proc_spawn, opath1, args1, argslen1);
|
||||
int32_t SYSCALL1(sys_proc_pollstate, pid1);
|
||||
int32_t SYSCALL0(sys_proc_getpid);
|
||||
int32_t SYSCALL1(sys_proc_run, pid1);
|
||||
int32_t SYSCALL1(sys_proc_arglen, pid1);
|
||||
int32_t SYSCALL4(sys_proc_argv, pid1, argslen1, argbuf1, maxargs1);
|
||||
int32_t SYSCALL0(sys_proc_listsize);
|
||||
int32_t SYSCALL2(sys_proc_stat, pidx, pstat1);
|
||||
|
||||
#endif // SYSCALL_PROC_H_
|
||||
Reference in New Issue
Block a user