Changeset 250717cc in mainline for libipc/generic/ipc.c
- Timestamp:
- 2006-05-16T09:30:42Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ec153a0
- Parents:
- 51d6f80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libipc/generic/ipc.c
r51d6f80 r250717cc 148 148 149 149 150 /** Send answer to a received call */ 151 ipcarg_t ipc_answer(ipc_callid_t callid, ipcarg_t retval, ipcarg_t arg1, 150 /** Send a fast answer to a received call. 151 * 152 * The fast answer makes use of passing retval and first two arguments in registers. 153 * If you need to return more, use the ipc_answer() instead. 154 * 155 * @param callid ID of the call being answered. 156 * @param retval Return value. 157 * @param arg1 First return argument. 158 * @param arg2 Second return argument. 159 * 160 * @return Zero on success or a value from @ref errno.h on failure. 161 */ 162 ipcarg_t ipc_answer_fast(ipc_callid_t callid, ipcarg_t retval, ipcarg_t arg1, 152 163 ipcarg_t arg2) 153 164 { 154 165 return __SYSCALL4(SYS_IPC_ANSWER_FAST, callid, retval, arg1, arg2); 155 166 } 167 168 /** Send a full answer to a received call. 169 * 170 * @param callid ID of the call being answered. 171 * @param call Call data. Must be already initialized by the responder. 172 * 173 * @return Zero on success or a value from @ref errno.h on failure. 174 */ 175 ipcarg_t ipc_answer(ipc_callid_t callid, ipc_call_t *call) 176 { 177 return __SYSCALL2(SYS_IPC_ANSWER, callid, (sysarg_t) call); 178 } 179 156 180 157 181 /** Try to dispatch queed calls from async queue */
Note:
See TracChangeset
for help on using the changeset viewer.