Subversion Repositories HelenOS

Rev

Rev 2898 | Rev 2900 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2898 Rev 2899
Line 145... Line 145...
145
 
145
 
146
    IPC_SET_RETVAL(call->data, rc);
146
    IPC_SET_RETVAL(call->data, rc);
147
    ipc_answer(&TASK->kernel_box, call);
147
    ipc_answer(&TASK->kernel_box, call);
148
}
148
}
149
 
149
 
-
 
150
static void udebug_receive_set_evmask(call_t *call)
-
 
151
{
-
 
152
    int rc;
-
 
153
    udebug_evmask_t mask;
-
 
154
 
-
 
155
    mask = IPC_GET_ARG2(call->data);
-
 
156
    rc = udebug_set_evmask(mask);
-
 
157
 
-
 
158
    IPC_SET_RETVAL(call->data, rc);
-
 
159
    ipc_answer(&TASK->kernel_box, call);
-
 
160
}
-
 
161
 
-
 
162
 
150
static void udebug_receive_go(call_t *call)
163
static void udebug_receive_go(call_t *call)
151
{
164
{
152
    thread_t *t;
165
    thread_t *t;
153
    int rc;
166
    int rc;
154
 
167
 
Line 429... Line 442...
429
        udebug_receive_begin(call);
442
        udebug_receive_begin(call);
430
        break;
443
        break;
431
    case UDEBUG_M_END:
444
    case UDEBUG_M_END:
432
        udebug_receive_end(call);
445
        udebug_receive_end(call);
433
        break;
446
        break;
-
 
447
    case UDEBUG_M_SET_EVMASK:
-
 
448
        udebug_receive_set_evmask(call);
-
 
449
        break;
434
    case UDEBUG_M_GO:
450
    case UDEBUG_M_GO:
435
        udebug_receive_go(call);
451
        udebug_receive_go(call);
436
        break;
452
        break;
437
    case UDEBUG_M_STOP:
453
    case UDEBUG_M_STOP:
438
        udebug_receive_stop(call);
454
        udebug_receive_stop(call);