summaryrefslogtreecommitdiffstats
path: root/api/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/syscall.h')
-rw-r--r--api/syscall.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/api/syscall.h b/api/syscall.h
index cf8b1c1..bdd9972 100644
--- a/api/syscall.h
+++ b/api/syscall.h
@@ -10,16 +10,21 @@ struct syscall_header
{
uint16_t callid;
uint16_t pathlen;
- uint16_t path[];
+ objpath_part_t path[];
};
-#define SYSCALL_VTT_WRITE 0
struct syscall_generic_write
{
size_t len;
char data[];
};
+struct syscall_generic_objpath
+{
+ uint16_t pathlen;
+ objpath_part_t path[];
+};
+
#define SYSCALL_UNTYPED_SIZE 0
#define SYSCALL_UNTYPED_ALIGN 1
@@ -37,12 +42,9 @@ struct syscall_untyped_split
uint16_t dest_pathlen;
objpath_part_t dest_path[];
};
-struct syscall_generic_objpath
-{
- uint16_t second_pathlen;
- objpath_part_t second_path[];
-};
#define SYSCALL_OBJDIR_OBJTYPE 0
+#define SYSCALL_VTT_WRITE 0
+
#endif