22 lines
286 B
C
22 lines
286 B
C
#ifndef _PROCESSES_H
|
|
#define _PROCESSES_H
|
|
|
|
#include <types.h>
|
|
#include <drivers/elf.h>
|
|
|
|
|
|
|
|
typedef uint32_t pid_t;
|
|
|
|
typedef struct process {
|
|
pid_t id;
|
|
pid_t group;
|
|
|
|
elf_executable_t* exe;
|
|
} process_t;
|
|
|
|
|
|
pid_t make_process(char* name, char* group, elf_executable_t* exe);
|
|
|
|
#endif
|