forked from xuos/xiuos
Valid 3 code version
This commit is contained in:
@@ -49,6 +49,8 @@ Modification:
|
||||
|
||||
#define SYSCALL_SEMAPHORE 13 // semaphore related operations
|
||||
#define SYSCALL_SLEEP 14 // sleep
|
||||
|
||||
#define SYSCALL_WAIT_SESSION 15
|
||||
// clang-format on
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
@@ -105,6 +107,7 @@ int sys_register_as_server(char* name);
|
||||
int sys_connect_session(char* path, int capacity, struct Session* user_session);
|
||||
int sys_poll_session(struct Session* userland_session_arr, int arr_capacity);
|
||||
int sys_close_session(struct Thread* task, struct Session* session);
|
||||
int sys_wait_session(struct Session* userland_session);
|
||||
|
||||
int sys_exec(char* img_start, char* name, char** argv);
|
||||
int sys_state(sys_state_option option, sys_state_info* info);
|
||||
|
||||
Reference in New Issue
Block a user