aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorMarvin Borner2020-05-07 14:29:28 +0200
committerMarvin Borner2020-05-07 14:29:28 +0200
commit130121dd61a9adf70d1800ceb03007275bfb589d (patch)
tree5b00d9046c5f5a5678479b0ddf1bdbe72bc74158 /src/shared
parent31767b532e69c5a63df0106fa08e137e3106a449 (diff)
Added wait syscall
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/common.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/shared/common.h b/src/shared/common.h
index 9680b1b..3f2904c 100644
--- a/src/shared/common.h
+++ b/src/shared/common.h
@@ -8,11 +8,12 @@
#define SYS_READ 3 // Read file
#define SYS_WRITE 4 // Write file
#define SYS_EXEC 5 // Execute file
-#define SYS_GET_PID 6 // Get process id
-#define SYS_MALLOC 7 // Allocate memory
-#define SYS_FREE 8 // Free memory
-#define SYS_GET 9 // Get kernel variable
-#define SYS_MAP 10 // Map input to function
+#define SYS_WAIT 6 // Wait for PID
+#define SYS_GET_PID 7 // Get process id
+#define SYS_MALLOC 8 // Allocate memory
+#define SYS_FREE 9 // Free memory
+#define SYS_GET 10 // Get kernel variable
+#define SYS_MAP 11 // Map input to function
// Get
#define GET_FRAMEBUFFER 0