diff options
author | dzwdz | 2022-04-22 15:24:22 +0200 |
---|---|---|
committer | dzwdz | 2022-04-22 15:24:22 +0200 |
commit | 0e225778d50865f2424dfb57d107630794721bcf (patch) | |
tree | d48aa570979bccd793a63235f52a030c522dc0c6 /src/kernel/main.c | |
parent | a60b3ca993ac7ff428c4a545c357484237450c22 (diff) |
kernel: recursive process_free
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r-- | src/kernel/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c index a0fdd07..14514cb 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c @@ -28,5 +28,10 @@ void shutdown(void) { kprintf("state 0x%x: 0x%x\n", i, states[i]); mem_debugprint(); + + // TODO generalize to process_cleanup + process_free(process_first); + + mem_debugprint(); cpu_shutdown(); } |