summaryrefslogtreecommitdiff
path: root/api/kjarna
diff options
context:
space:
mode:
Diffstat (limited to 'api/kjarna')
-rw-r--r--api/kjarna/syscall.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/api/kjarna/syscall.h b/api/kjarna/syscall.h
new file mode 100644
index 0000000..8af162a
--- /dev/null
+++ b/api/kjarna/syscall.h
@@ -0,0 +1,12 @@
+#define SYS_NOOP 0
+#define SYS_OPEN 1
+#define SYS_CLOSE 2
+#define SYS_LSEEK 3
+#define SYS_READ 4
+#define SYS_WRITE 5
+#define SYS_MMAP 6
+#define SYS_MUNMAP 7
+#define SYS_EXIT 8
+
+#define NR_SYSCALLS (SYS_EXIT + 1)
+