summaryrefslogtreecommitdiff
path: root/kernel/syscall.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-25 15:06:17 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-25 15:06:17 -0400
commit79d9e1cad4431b54d723bbce75275776859d3bb6 (patch)
tree4623d9ce38e3ffd175ba9c2bfbcaeeab8665db21 /kernel/syscall.c
parentadd elf file checks (diff)
downloadcomus-79d9e1cad4431b54d723bbce75275776859d3bb6.tar.gz
comus-79d9e1cad4431b54d723bbce75275776859d3bb6.tar.bz2
comus-79d9e1cad4431b54d723bbce75275776859d3bb6.zip
add comment
Diffstat (limited to 'kernel/syscall.c')
-rw-r--r--kernel/syscall.c3
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;
}