Rev 2835 | Rev 2841 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2835 | Rev 2838 | ||
|---|---|---|---|
| Line 158... | Line 158... | ||
| 158 | * this doesn't affect anything. |
158 | * this doesn't affect anything. |
| 159 | */ |
159 | */ |
| 160 | t->debug_stop = true; |
160 | t->debug_stop = true; |
| 161 | 161 | ||
| 162 | /* Answer GO call */ |
162 | /* Answer GO call */ |
| - | 163 | klog_printf("answer GO call with EVENT_FINISHED"); |
|
| - | 164 | IPC_SET_RETVAL(t->debug_go_call->data, 0); |
|
| - | 165 | IPC_SET_ARG1(t->debug_go_call->data, UDEBUG_EVENT_FINISHED); |
|
| 163 | ipc_answer(&ta->answerbox, t->debug_go_call); |
166 | ipc_answer(&ta->answerbox, t->debug_go_call); |
| 164 | } else { |
167 | } else { |
| 165 | /* |
168 | /* |
| 166 | * Debug_stop is already at initial value. |
169 | * Debug_stop is already at initial value. |
| 167 | * Yet this means the thread needs waking up. |
170 | * Yet this means the thread needs waking up. |
| Line 176... | Line 179... | ||
| 176 | ta->dt_state = UDEBUG_TS_INACTIVE; |
179 | ta->dt_state = UDEBUG_TS_INACTIVE; |
| 177 | 180 | ||
| 178 | spinlock_unlock(&ta->lock); |
181 | spinlock_unlock(&ta->lock); |
| 179 | interrupts_restore(ipl); |
182 | interrupts_restore(ipl); |
| 180 | 183 | ||
| - | 184 | IPC_SET_RETVAL(call->data, 0); |
|
| - | 185 | ||
| 181 | klog_printf("udebug_rp_end() done\n"); |
186 | klog_printf("udebug_rp_end() done\n"); |
| 182 | 187 | ||
| 183 | return 1; |
188 | return 1; |
| 184 | } |
189 | } |
| 185 | 190 | ||