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

Commit 2208e3e

Browse files
authored
Update process.c
1 parent 09b53fb commit 2208e3e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

kernel/core/process.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ Process* process_create(char* name, int ppid, Domain domain, u32 entry, u32 stac
8383
return proc;
8484
}
8585

86+
void process_destroy(Process* proc) {
87+
// TODO: Make this actually work
88+
89+
}
8690

8791
int load_program(Process* proc, void* code, size_t size) {
8892
if (!proc || !code || size == 0) {
@@ -93,9 +97,6 @@ int load_program(Process* proc, void* code, size_t size) {
9397
return 0;
9498
}
9599

96-
97-
98-
99100
void cswitch(cpu_state_t* old_state, cpu_state_t* new_state) {
100101
asm (
101102
// save

0 commit comments

Comments
 (0)