Rev 4581 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4581 | Rev 4718 | ||
---|---|---|---|
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) |
151 | int task_wait(task_id_t id, task_exit_t *texit, int *retval) |
152 | { |
152 | { |
- | 153 | ipcarg_t te, rv; |
|
- | 154 | int rc; |
|
- | 155 | ||
153 | return (int) async_req_2_0(PHONE_NS, NS_TASK_WAIT, LOWER32(id), UPPER32(id)); |
156 | rc = (int) async_req_2_2(PHONE_NS, NS_TASK_WAIT, LOWER32(id), |
- | 157 | UPPER32(id), &te, &rv); |
|
- | 158 | *texit = te; |
|
- | 159 | *retval = rv; |
|
- | 160 | ||
- | 161 | return rc; |
|
- | 162 | } |
|
- | 163 | ||
- | 164 | int task_retval(int val) |
|
- | 165 | { |
|
- | 166 | return (int) async_req_1_0(PHONE_NS, NS_RETVAL, val); |
|
154 | } |
167 | } |
155 | 168 | ||
156 | /** @} |
169 | /** @} |
157 | */ |
170 | */ |