From 79d9e1cad4431b54d723bbce75275776859d3bb6 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 25 Apr 2025 15:06:17 -0400 Subject: add comment --- kernel/syscall.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/syscall.c b/kernel/syscall.c index 00e6afb..5e0abff 100644 --- a/kernel/syscall.c +++ b/kernel/syscall.c @@ -54,6 +54,9 @@ static int sys_write(void) static int sys_poweroff(void) { + // TODO: we should probably + // kill all user processes + // and then sync the fs acpi_shutdown(); return 1; } -- cgit v1.2.3-freya