summaryrefslogtreecommitdiffstats
path: root/api/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/syscall.h')
-rw-r--r--api/syscall.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/api/syscall.h b/api/syscall.h
index 40fedd4..62b9917 100644
--- a/api/syscall.h
+++ b/api/syscall.h
@@ -32,7 +32,7 @@ struct syscall_generic_write
struct syscall_generic_objpath
{
- uint16_t pathlen;
+ objpath_part_t pathlen;
objpath_part_t path[];
};
@@ -63,7 +63,7 @@ enum
struct syscall_untyped_split
{
size_t bytes;
- uint16_t dest_pathlen;
+ objpath_part_t dest_pathlen;
objpath_part_t dest_path[];
};
@@ -130,25 +130,25 @@ struct syscall_pagedir_flags
struct syscall_pagedir_map
{
- struct syscall_pagedir_flags page_flags;
- uint16_t untyped_pathlen;
uintptr_t virtual_address;
+ struct syscall_pagedir_flags page_flags;
+ objpath_part_t untyped_pathlen;
objpath_part_t untyped_path[];
};
struct syscall_pagedir_map_shmem
{
- struct syscall_pagedir_flags page_flags;
- uint8_t page_offset;
- uint16_t shmem_pathlen;
uintptr_t virtual_address;
+ unsigned short page_offset;
+ struct syscall_pagedir_flags page_flags;
+ objpath_part_t shmem_pathlen;
objpath_part_t shmem_path[];
};
struct syscall_pagedir_unmap
{
uintptr_t virtual_address;
- uint16_t none_pathlen;
+ objpath_part_t none_pathlen;
objpath_part_t none_path[];
};
@@ -232,7 +232,7 @@ struct syscall_pcb_send
{
pid_t send_target;
uintmax_t send_timeout;
- uint16_t send_path_length;
+ objpath_part_t send_path_length;
objpath_part_t send_path[];
};
@@ -240,7 +240,7 @@ struct syscall_pcb_recv
{
pid_t recv_target;
uintmax_t recv_timeout;
- uint16_t recv_path_length;
+ objpath_part_t recv_path_length;
objpath_part_t recv_path[];
};
@@ -256,7 +256,7 @@ struct syscall_pcb_swap
struct syscall_pcb_stack
{
- char type;
+ unsigned char type;
objpath_part_t stack_path_length;
objpath_part_t stack_path[];
};