Changeset e9d15d9 in mainline for kernel/generic/src/ipc/ipcrsc.c
- Timestamp:
- 2017-08-18T21:15:26Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 24abb85d
- Parents:
- 1c85bae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipcrsc.c
r1c85bae re9d15d9 133 133 #include <assert.h> 134 134 #include <abi/errno.h> 135 #include <kobject/kobject.h> 135 136 136 137 /** Find call_t * in call table according to callid. … … 198 199 * 199 200 * @return New phone capability. 200 * @return KOBJECT_INVALID_CAPif a new capability cannot be allocated.201 * @return Negative error code if a new capability cannot be allocated. 201 202 */ 202 203 int phone_alloc(task_t *task) 203 204 { 204 205 int cap = kobject_alloc(task); 205 if (cap != KOBJECT_INVALID_CAP) {206 if (cap >= 0) { 206 207 irq_spinlock_lock(&task->lock, true); 207 208 kobject_t *kobj = &task->kobject[cap];
Note:
See TracChangeset
for help on using the changeset viewer.