Changeset efca8dc8 in mainline for kernel/generic/src/proc/task.c
- Timestamp:
- 2025-03-10T13:36:22Z (2 days ago)
- Parents:
- 0ae9e18 (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-03-10 13:36:22)
- git-committer:
- GitHub <noreply@…> (2025-03-10 13:36:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r0ae9e18 refca8dc8 202 202 return NULL; 203 203 204 if (caps_task_init(task) != EOK) { 205 slab_free(task_cache, task); 206 return NULL; 207 } 208 204 209 refcount_init(&task->refcount); 205 210 … … 213 218 task->ucycles = 0; 214 219 task->kcycles = 0; 215 216 caps_task_init(task);217 220 218 221 task->ipc_info.call_sent = 0; … … 249 252 } 250 253 251 kobject_t *phone_obj = kobject_get(task, phone_handle,252 KOBJECT_TYPE_PHONE);253 (void) ipc_phone_connect(phone _obj->phone, ipc_box_0);254 phone_t *phone = phone_from_kobject( 255 kobject_get(task, phone_handle, KOBJECT_TYPE_PHONE)); 256 (void) ipc_phone_connect(phone, ipc_box_0); 254 257 } 255 258 … … 288 291 */ 289 292 as_release(task->as); 293 294 caps_task_clear(task); 290 295 291 296 slab_free(task_cache, task);
Note:
See TracChangeset
for help on using the changeset viewer.