get_proc_info () syscall, CE procinfo command
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 3m31s
Build documentation / build-and-deploy (push) Successful in 2m0s

This commit is contained in:
2026-03-26 20:21:43 +01:00
parent 9f2e6eef79
commit df730cec36
9 changed files with 131 additions and 0 deletions

18
include/proc_info.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef _PROC_INFO_H
#define _PROC_INFO_H
#include <stddef.h>
#include <stdint.h>
#include <path_defs.h>
struct proc_info {
int pid;
int exec_pid;
uint32_t flags;
int cpu;
int state;
int pgid;
char name[PATH_MAX + VOLUME_MAX];
};
#endif // _PROC_INFO_H

View File

@@ -37,5 +37,6 @@
#define SYS_GET_SELF_PID 34
#define SYS_STREAM_WRITE 35
#define SYS_STREAM_READ 36
#define SYS_GET_PROC_INFO 37
#endif // _M_SYSCALL_DEFS_H