Partial exec, environment variables

This commit is contained in:
2026-03-17 19:14:29 +01:00
parent b1648a146a
commit c69ee1b745
9 changed files with 199 additions and 26 deletions

View File

@@ -22,6 +22,7 @@
/* process states */
#define PROC_READY 0
#define PROC_SUSPENDED 1
#define PROC_PARTIAL 2
/* process flags */
#define PROC_USTK_PREALLOC (1 << 0)
@@ -61,6 +62,8 @@ struct elf_aux proc_load_segments (struct proc* proc, uint8_t* elf);
void proc_register (struct proc* proc, struct cpu* register_cpu, struct reschedule_ctx* rctx);
void proc_register_partial (struct proc* proc);
struct proc* proc_find_pid (int pid);
struct proc* proc_from_file (struct proc* proc1, const char* volume, const char* path,