Rev 4618 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4618 | Rev 4620 | ||
---|---|---|---|
Line 146... | Line 146... | ||
146 | free(ldr); |
146 | free(ldr); |
147 | 147 | ||
148 | return 0; |
148 | return 0; |
149 | } |
149 | } |
150 | 150 | ||
151 | int task_wait(task_id_t id, int *retval) |
151 | int task_wait(task_id_t id, task_exit_t *texit, int *retval) |
152 | { |
152 | { |
153 | ipcarg_t rv; |
153 | ipcarg_t te, rv; |
154 | int rc; |
154 | int rc; |
155 | 155 | ||
156 | rc = (int) async_req_2_1(PHONE_NS, NS_TASK_WAIT, LOWER32(id), |
156 | rc = (int) async_req_2_2(PHONE_NS, NS_TASK_WAIT, LOWER32(id), |
157 | UPPER32(id), &rv); |
157 | UPPER32(id), &te, &rv); |
- | 158 | *texit = te; |
|
158 | *retval = rv; |
159 | *retval = rv; |
159 | 160 | ||
160 | return rc; |
161 | return rc; |
161 | } |
162 | } |
162 | 163 |