Changeset 433 for trunk/kernel/kern/rpc.h
- Timestamp:
- Feb 14, 2018, 3:40:19 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.h
r428 r433 62 62 RPC_PMEM_GET_PAGES = 0, 63 63 RPC_PMEM_RELEASE_PAGES = 1, 64 RPC_ PROCESS_MAKE_EXEC= 2,64 RPC_UNDEFINED_2 = 2, 65 65 RPC_PROCESS_MAKE_FORK = 3, 66 RPC_ PROCESS_MAKE_EXIT= 4,66 RPC_UNDEFINED_4 = 4, 67 67 RPC_PROCESS_MAKE_KILL = 5, 68 68 RPC_THREAD_USER_CREATE = 6, … … 80 80 RPC_VFS_MAPPER_LOAD_ALL = 17, 81 81 RPC_FATFS_GET_CLUSTER = 18, 82 RPC_UNDEFINED_19 = 19, 82 83 83 84 RPC_VMM_GET_VSEG = 20, … … 210 211 211 212 /*********************************************************************************** 212 * [2] The RPC_PROCESS_MAKE_EXEC creates a new process descriptor, from an existing 213 * process descriptor in a remote server cluster. This server cluster must be 214 * the owner cluster for the existing process. The new process descriptor is 215 * initialized from informations found in the <exec_info> structure. 216 * A new main thread descriptor is created in the server cluster. 217 * All copies of the old process descriptor and all old threads are destroyed. 218 *********************************************************************************** 219 * @ cxy : server cluster identifier. 220 * @ process : [in] local pointer on the exec_info structure in client cluster. 221 * @ error : [out] error status (0 if success). 222 **********************************************************************************/ 223 void rpc_process_make_exec_client( cxy_t cxy, 224 struct exec_info_s * info, 225 error_t * error ); 226 227 void rpc_process_make_exec_server( xptr_t xp ); 213 * [2] undefined slot 214 **********************************************************************************/ 228 215 229 216 /*********************************************************************************** … … 251 238 252 239 /*********************************************************************************** 253 * [4] The RPC_PROCESS_MAKE_EXIT can be called by any thread to request the owner 254 * cluster to execute the process_make_exit() function for the target process. 255 *********************************************************************************** 256 * @ cxy : owner cluster identifier. 257 * @ pid : target process identifier. 258 * @ status : calling process exit status. 259 **********************************************************************************/ 260 void rpc_process_make_exit_client( cxy_t cxy, 261 pid_t pid, 262 uint32_t status ); 263 264 void rpc_process_make_exit_server( xptr_t xp ); 240 * [4] undefined slot 241 **********************************************************************************/ 265 242 266 243 /*********************************************************************************** … … 269 246 *********************************************************************************** 270 247 * @ cxy : owner cluster identifier. 271 * @ pid : target process identifier. 272 * @ seg_id : signal type (only SIGKILL / SIGSTOP / SIGCONT are supported). 248 * @ process : pointer on process in owner cluster. 249 * @ is_exit : true if called by sys_exit() / false if called by sys_kill() 250 * @ status : exit status (only when called by sys_exit() 273 251 **********************************************************************************/ 274 252 void rpc_process_make_kill_client( cxy_t cxy, 275 pid_t pid, 276 uint32_t seg_id ); 253 struct process_s * process, 254 bool_t is_exit, 255 uint32_t status ); 277 256 278 257 void rpc_process_make_kill_server( xptr_t xp ); … … 517 496 518 497 /*********************************************************************************** 498 * [19] undefined slot 499 **********************************************************************************/ 500 501 /*********************************************************************************** 519 502 * [20] The RPC_VMM_GET_VSEG returns an extended pointer 520 503 * on the vseg containing a given virtual address in a given process.
Note: See TracChangeset
for help on using the changeset viewer.