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

View File

@@ -110,3 +110,7 @@ int stream_write (int pgid, int rid, void* buffer, size_t size) {
int stream_read (int pgid, int rid, void* buffer, size_t size) {
return (int)do_syscall (SYS_STREAM_READ, pgid, rid, buffer, size);
}
int get_proc_info (struct proc_info* infos, size_t count) {
return (int)do_syscall (SYS_GET_PROC_INFO, infos, count);
}

View File

@@ -3,6 +3,7 @@
#include <desc.h>
#include <dir_entry.h>
#include <proc_info.h>
#include <stddef.h>
#include <stdint.h>
@@ -114,4 +115,7 @@ int stream_write (int pgid, int rid, void* buffer, size_t size);
/* Read from a stream */
int stream_read (int pgid, int rid, void* buffer, size_t size);
/* get process information */
int get_proc_info (struct proc_info* infos, size_t count);
#endif // _LIBMSL_M_SYSTEM_H