Subversion Repositories HelenOS

Rev

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

Rev 1329 Rev 1346
Line 62... Line 62...
62
 * - some system messages may be forwarded, for some of them
62
 * - some system messages may be forwarded, for some of them
63
 *   it is useless
63
 *   it is useless
64
 */
64
 */
65
static inline int is_forwardable(__native method)
65
static inline int is_forwardable(__native method)
66
{
66
{
67
    if (method == IPC_M_PHONE_HUNGUP)
67
    if (method == IPC_M_PHONE_HUNGUP || method == IPC_M_AS_SEND)
68
        return 0; /* This message is meant only for the receiver */
68
        return 0; /* This message is meant only for the receiver */
69
    return 1;
69
    return 1;
70
}
70
}
71
 
71
 
72
/****************************************************/
72
/****************************************************/
Line 394... Line 394...
394
    call_t *call;
394
    call_t *call;
395
    ipc_data_t saved_data;
395
    ipc_data_t saved_data;
396
    int saveddata = 0;
396
    int saveddata = 0;
397
    int rc;
397
    int rc;
398
 
398
 
-
 
399
    /* Do not answer notification callids */
-
 
400
    if (callid & IPC_CALLID_NOTIFICATION)
-
 
401
        return 0;
-
 
402
 
399
    call = get_call(callid);
403
    call = get_call(callid);
400
    if (!call)
404
    if (!call)
401
        return ENOENT;
405
        return ENOENT;
402
 
406
 
403
    if (answer_need_old(call)) {
407
    if (answer_need_old(call)) {
Line 420... Line 424...
420
    call_t *call;
424
    call_t *call;
421
    ipc_data_t saved_data;
425
    ipc_data_t saved_data;
422
    int saveddata = 0;
426
    int saveddata = 0;
423
    int rc;
427
    int rc;
424
 
428
 
-
 
429
    /* Do not answer notification callids */
-
 
430
    if (callid & IPC_CALLID_NOTIFICATION)
-
 
431
        return 0;
-
 
432
 
425
    call = get_call(callid);
433
    call = get_call(callid);
426
    if (!call)
434
    if (!call)
427
        return ENOENT;
435
        return ENOENT;
428
 
436
 
429
    if (answer_need_old(call)) {
437
    if (answer_need_old(call)) {