Changeset 87e7a18 in mainline for kernel/generic/src/ipc/ipcrsc.c
- Timestamp:
- 2018-03-13T18:01:48Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 34316d4
- Parents:
- 334c103
- git-author:
- Jakub Jermar <jakub@…> (2018-03-10 19:59:41)
- git-committer:
- Jakub Jermar <jakub@…> (2018-03-13 18:01:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipcrsc.c
r334c103 r87e7a18 209 209 } 210 210 211 /** Connect phone to a given answerbox.212 *213 * @param handle Capability handle of the phone to be connected.214 * @param box Answerbox to which to connect the phone.215 * @return True if the phone was connected, false otherwise.216 */217 bool phone_connect(cap_handle_t handle, answerbox_t *box)218 {219 kobject_t *phone_obj = kobject_get(TASK, handle, KOBJECT_TYPE_PHONE);220 if (!phone_obj)221 return false;222 223 /* Hand over phone_obj reference to the answerbox */224 return ipc_phone_connect(phone_obj->phone, box);225 }226 227 211 /** @} 228 212 */
Note:
See TracChangeset
for help on using the changeset viewer.