Changes in uspace/lib/c/generic/ipc.c [fafb8e5:f787c8e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ipc.c
rfafb8e5 rf787c8e 71 71 { 72 72 return __SYSCALL6(SYS_IPC_CALL_ASYNC_FAST, 73 cap_handle_raw(phandle), imethod, arg1, arg2, arg3,73 CAP_HANDLE_RAW(phandle), imethod, arg1, arg2, arg3, 74 74 (sysarg_t) label); 75 75 } … … 98 98 ipc_call_t data; 99 99 100 ipc_set_imethod(&data, imethod);101 ipc_set_arg1(&data, arg1);102 ipc_set_arg2(&data, arg2);103 ipc_set_arg3(&data, arg3);104 ipc_set_arg4(&data, arg4);105 ipc_set_arg5(&data, arg5);100 IPC_SET_IMETHOD(data, imethod); 101 IPC_SET_ARG1(data, arg1); 102 IPC_SET_ARG2(data, arg2); 103 IPC_SET_ARG3(data, arg3); 104 IPC_SET_ARG4(data, arg4); 105 IPC_SET_ARG5(data, arg5); 106 106 107 107 return __SYSCALL3(SYS_IPC_CALL_ASYNC_SLOW, 108 cap_handle_raw(phandle), (sysarg_t) &data,108 CAP_HANDLE_RAW(phandle), (sysarg_t) &data, 109 109 (sysarg_t) label); 110 110 } … … 130 130 { 131 131 return (errno_t) __SYSCALL6(SYS_IPC_ANSWER_FAST, 132 cap_handle_raw(chandle), (sysarg_t) retval, arg1, arg2, arg3, arg4);132 CAP_HANDLE_RAW(chandle), (sysarg_t) retval, arg1, arg2, arg3, arg4); 133 133 } 134 134 … … 152 152 ipc_call_t data; 153 153 154 ipc_set_retval(&data, retval);155 ipc_set_arg1(&data, arg1);156 ipc_set_arg2(&data, arg2);157 ipc_set_arg3(&data, arg3);158 ipc_set_arg4(&data, arg4);159 ipc_set_arg5(&data, arg5);154 IPC_SET_RETVAL(data, retval); 155 IPC_SET_ARG1(data, arg1); 156 IPC_SET_ARG2(data, arg2); 157 IPC_SET_ARG3(data, arg3); 158 IPC_SET_ARG4(data, arg4); 159 IPC_SET_ARG5(data, arg5); 160 160 161 161 return (errno_t) __SYSCALL2(SYS_IPC_ANSWER_SLOW, 162 cap_handle_raw(chandle), (sysarg_t) &data);162 CAP_HANDLE_RAW(chandle), (sysarg_t) &data); 163 163 } 164 164 … … 186 186 errno_t ipc_hangup(cap_phone_handle_t phandle) 187 187 { 188 return (errno_t) __SYSCALL1(SYS_IPC_HANGUP, cap_handle_raw(phandle));188 return (errno_t) __SYSCALL1(SYS_IPC_HANGUP, CAP_HANDLE_RAW(phandle)); 189 189 } 190 190 … … 210 210 { 211 211 return (errno_t) __SYSCALL6(SYS_IPC_FORWARD_FAST, 212 cap_handle_raw(chandle), cap_handle_raw(phandle), imethod, arg1,212 CAP_HANDLE_RAW(chandle), CAP_HANDLE_RAW(phandle), imethod, arg1, 213 213 arg2, mode); 214 214 } … … 220 220 ipc_call_t data; 221 221 222 ipc_set_imethod(&data, imethod);223 ipc_set_arg1(&data, arg1);224 ipc_set_arg2(&data, arg2);225 ipc_set_arg3(&data, arg3);226 ipc_set_arg4(&data, arg4);227 ipc_set_arg5(&data, arg5);222 IPC_SET_IMETHOD(data, imethod); 223 IPC_SET_ARG1(data, arg1); 224 IPC_SET_ARG2(data, arg2); 225 IPC_SET_ARG3(data, arg3); 226 IPC_SET_ARG4(data, arg4); 227 IPC_SET_ARG5(data, arg5); 228 228 229 229 return (errno_t) __SYSCALL4(SYS_IPC_FORWARD_SLOW, 230 cap_handle_raw(chandle), cap_handle_raw(phandle), (sysarg_t) &data,230 CAP_HANDLE_RAW(chandle), CAP_HANDLE_RAW(phandle), (sysarg_t) &data, 231 231 mode); 232 232 }
Note:
See TracChangeset
for help on using the changeset viewer.