Changeset 67f11a0 in mainline for kernel/generic/src/proc/task.c
- Timestamp:
- 2018-03-15T17:40:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 530f2de, e9e4068
- Parents:
- 30f1a25 (diff), a36f442 (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:
- Jakub Jermar <jakub@…> (2018-03-15 17:25:56)
- git-committer:
- Jakub Jermar <jakub@…> (2018-03-15 17:40:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r30f1a25 r67f11a0 129 129 size_t tasks_left; 130 130 131 if (ipc_ phone_0) {132 task_t *task_0 = ipc_ phone_0->task;133 ipc_ phone_0 = NULL;131 if (ipc_box_0) { 132 task_t *task_0 = ipc_box_0->task; 133 ipc_box_0 = NULL; 134 134 /* 135 135 * The first task is held by kinit(), we need to release it or … … 243 243 #endif 244 244 245 if ((ipc_ phone_0) &&246 (container_check(ipc_ phone_0->task->container, task->container))) {245 if ((ipc_box_0) && 246 (container_check(ipc_box_0->task->container, task->container))) { 247 247 cap_handle_t phone_handle; 248 errno_t rc = phone_alloc(task, &phone_handle);248 errno_t rc = phone_alloc(task, true, &phone_handle, NULL); 249 249 if (rc != EOK) { 250 250 task->as = NULL; … … 256 256 kobject_t *phone_obj = kobject_get(task, phone_handle, 257 257 KOBJECT_TYPE_PHONE); 258 (void) ipc_phone_connect(phone_obj->phone, ipc_ phone_0);258 (void) ipc_phone_connect(phone_obj->phone, ipc_box_0); 259 259 } 260 260
Note:
See TracChangeset
for help on using the changeset viewer.