Changeset 6caf5fb in mainline for kernel/generic/src/proc/task.c
- Timestamp:
- 2025-01-16T21:42:15Z (20 hours ago)
- Parents:
- e0e2264 (diff), 455241b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-01-16 21:42:15)
- git-committer:
- GitHub <noreply@…> (2025-01-16 21:42:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
re0e2264 r6caf5fb 201 201 return NULL; 202 202 203 if (caps_task_init(task) != EOK) { 204 slab_free(task_cache, task); 205 return NULL; 206 } 207 203 208 refcount_init(&task->refcount); 204 209 … … 212 217 task->ucycles = 0; 213 218 task->kcycles = 0; 214 215 caps_task_init(task);216 219 217 220 task->ipc_info.call_sent = 0; … … 248 251 } 249 252 250 kobject_t *phone_obj = kobject_get(task, phone_handle,251 KOBJECT_TYPE_PHONE);252 (void) ipc_phone_connect(phone _obj->phone, ipc_box_0);253 phone_t *phone = phone_from_kobject( 254 kobject_get(task, phone_handle, KOBJECT_TYPE_PHONE)); 255 (void) ipc_phone_connect(phone, ipc_box_0); 253 256 } 254 257 … … 287 290 */ 288 291 as_release(task->as); 292 293 caps_task_clear(task); 289 294 290 295 slab_free(task_cache, task);
Note:
See TracChangeset
for help on using the changeset viewer.