Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit 71d9787

Browse files
authored
wad
1 parent d104906 commit 71d9787

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

kernel/core/process.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ typedef struct {
3030
cpu_state_t cpu_t;
3131
} Process;
3232

33-
Process process_create(char* name, int ppid, Domain domain, u32 entry, u32 stack);
33+
Process* process_create(char* name, int ppid, Domain domain, u32 entry, u32 stack);
3434
void process_destroy(Process* proc);
3535

36-
void process_set_state(Process *proc, proc_state_t state);
36+
3737
void process_switch();
38+
void scheduler();
3839

3940
extern Process* cproc;
4041
extern Process* processes[256]; // TODO: Dynamic.. For now we shouldn't need more than this. (who tf has 256 proccesses open)

0 commit comments

Comments
 (0)