2025-05-28 14:41:02 -05:00
|
|
|
#ifndef _PROCESSES_H
|
|
|
|
#define _PROCESSES_H
|
|
|
|
|
2025-06-27 14:48:06 -05:00
|
|
|
#include <types.h>
|
|
|
|
#include <drivers/elf.h>
|
2025-05-28 14:41:02 -05:00
|
|
|
|
|
|
|
|
2025-06-27 14:48:06 -05:00
|
|
|
typedef struct process {
|
|
|
|
int32_t id;
|
|
|
|
int32_t group;
|
2025-05-28 14:41:02 -05:00
|
|
|
|
2025-06-27 14:48:06 -05:00
|
|
|
elf_executable_t* exe;
|
2025-05-28 14:41:02 -05:00
|
|
|
|
|
|
|
struct process* next;
|
2025-06-27 14:48:06 -05:00
|
|
|
} process_t;
|
|
|
|
|
|
|
|
int32_t make_process(char* name, char* group, elf_executable_t* exe);
|
2025-05-28 14:41:02 -05:00
|
|
|
|
|
|
|
#endif
|