summaryrefslogtreecommitdiff
path: root/src/kernel/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r--src/kernel/main.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c
index bbdd234..75d9a29 100644
--- a/src/kernel/main.c
+++ b/src/kernel/main.c
@@ -18,14 +18,7 @@ void kmain(struct kmain_info info) {
}
void shutdown(void) {
- size_t states[PS_LAST] = {0};
- for (struct process *p = process_first; p; p = process_next(p))
- states[p->state]++;
-
- kprintf("\n\n\nshutting off\n");
- for (size_t i = 0; i < sizeof(states) / sizeof(*states); i++)
- kprintf("state 0x%x: 0x%x\n", i, states[i]);
-
+ kprintf("shutting off\n");
mem_debugprint();
cpu_shutdown();
}