summaryrefslogtreecommitdiff
path: root/kernel/include
diff options
context:
space:
mode:
authorIan McFarlane <i.mcfarlane2002@gmail.com>2025-05-02 02:30:43 -0400
committerIan McFarlane <i.mcfarlane2002@gmail.com>2025-05-02 02:30:43 -0400
commit7887fb739daa278ee92db79d0192fadec8262049 (patch)
tree11fc944de71bfa53939d8327197eea917e7bd872 /kernel/include
parentAdd allocshared() and popsharedmem() syscalls (diff)
downloadcomus-7887fb739daa278ee92db79d0192fadec8262049.tar.gz
comus-7887fb739daa278ee92db79d0192fadec8262049.tar.bz2
comus-7887fb739daa278ee92db79d0192fadec8262049.zip
added keypoll syscall and synchronization for forkman
Diffstat (limited to 'kernel/include')
-rw-r--r--kernel/include/comus/syscalls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/include/comus/syscalls.h b/kernel/include/comus/syscalls.h
index f27b879..ffc9d1b 100644
--- a/kernel/include/comus/syscalls.h
+++ b/kernel/include/comus/syscalls.h
@@ -32,9 +32,10 @@
#define SYS_ticks 19
#define SYS_allocshared 20
#define SYS_popsharedmem 21
+#define SYS_keypoll 22
// UPDATE THIS DEFINITION IF MORE SYSCALLS ARE ADDED!
-#define N_SYSCALLS 22
+#define N_SYSCALLS 23
// interrupt vector entry for system calls
#define VEC_SYSCALL 0x80