Implement passing commandline strings
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 1m37s
Build documentation / build-and-deploy (push) Successful in 1m42s

This commit is contained in:
2026-04-28 19:48:34 +02:00
parent 347fe0a49d
commit 9fbe23024c
9 changed files with 51 additions and 7 deletions

View File

@@ -5,14 +5,15 @@
#include <libk/list.h>
#include <libk/rbtree.h>
#include <libk/std.h>
#include <page_size.h>
#include <proc/env.h>
#include <proc/resource.h>
#include <sync/spin_lock.h>
#include <sys/mm.h>
#include <sys/procgroup.h>
#define PROCGROUP_VFS_HANDLES_MAX 256
#define PROCGROUP_RESOURCES_MAX 256
#define PROCGROUP_RESOURCES_MAX 256
#define PROCGROUP_CMDLINE_MAX PAGE_SIZE
struct proc;
struct reschedule_ctx;
@@ -36,6 +37,8 @@ struct procgroup {
uintptr_t map_base;
struct procgroup_tls tls;
struct proc_env env;
uintptr_t uvaddr_cmdline;
uintptr_t paddr_cmdline;
};
struct procgroup* procgroup_create(void);