diff options
-rw-r--r-- | kernel/syscall.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |