Replaces SYS_open with SYS_openat (XCC)
[akaros.git] / kern / include / ros / bits / syscall.h
index 2a60329..9c4a800 100644 (file)
 #define SYS_mlock
 #define SYS_msync
 */
-/* sys_brk removed */
+/* was SYS_brk                                         21 */
 #define SYS_shared_page_alloc          22
 #define SYS_shared_page_free           23
 #define SYS_provision                          24
 #define SYS_notify                                     25
 #define SYS_self_notify                                26
-#define SYS_vc_entry                           31
 #define SYS_halt_core                          27
 #define SYS_init_arsc                          28
 #define SYS_change_to_m                                29
 #define SYS_abort_sysc                         31
 #define SYS_populate_va                                32
 #define SYS_abort_sysc_fd                      33
+#define SYS_setup_vmm                          34
+#define SYS_vc_entry                           35
 
 /* FS Syscalls */
 #define SYS_read                               100
 #define SYS_write                              101
-#define SYS_open                               102
+#define SYS_openat                             102
 #define SYS_close                              103
 #define SYS_fstat                              104
 #define SYS_stat                               105
@@ -73,6 +74,7 @@
 #define SYS_rename                             123
 #define SYS_fchdir                             124
 #define SYS_dup_fds_to                 125
+#define SYS_tap_fds                            126
 
 /* Misc syscalls */
 #define SYS_gettimeofday               140
@@ -85,6 +87,7 @@
 #define SYS_nbind                              145
 #define SYS_nmount                             146
 #define SYS_nunmount                   147
+/* was SYS_something                   148 */
 #define SYS_fd2path                            149
 
 /* Syscalls we plan to remove someday */