Changeset bbf38ad in mainline for kernel/generic/src/ipc/ipcrsc.c
- Timestamp:
- 2018-03-11T07:35:05Z (7 years ago)
- Children:
- af6bd113
- Parents:
- 26a6ed4
- git-author:
- Jakub Jermar <jakub@…> (2018-03-10 19:59:41)
- git-committer:
- Jakub Jermar <jakub@…> (2018-03-11 07:35:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipcrsc.c
r26a6ed4 rbbf38ad 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.