Subversion Repositories HelenOS

Rev

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

Rev 2071 Rev 2098
Line 280... Line 280...
280
        IPC_SET_METHOD(call->data, irq->notif_cfg.method);
280
        IPC_SET_METHOD(call->data, irq->notif_cfg.method);
281
        IPC_SET_ARG1(call->data, a1);
281
        IPC_SET_ARG1(call->data, a1);
282
        IPC_SET_ARG2(call->data, a2);
282
        IPC_SET_ARG2(call->data, a2);
283
        IPC_SET_ARG3(call->data, a3);
283
        IPC_SET_ARG3(call->data, a3);
284
        /* Put a counter to the message */
284
        /* Put a counter to the message */
285
        call->private = ++irq->notif_cfg.counter;
285
        call->priv = ++irq->notif_cfg.counter;
286
       
286
       
287
        send_call(irq, call);
287
        send_call(irq, call);
288
    }
288
    }
289
    spinlock_unlock(&irq->lock);
289
    spinlock_unlock(&irq->lock);
290
}
290
}
Line 304... Line 304...
304
        if (!call) {
304
        if (!call) {
305
            return;
305
            return;
306
        }
306
        }
307
        call->flags |= IPC_CALL_NOTIF;
307
        call->flags |= IPC_CALL_NOTIF;
308
        /* Put a counter to the message */
308
        /* Put a counter to the message */
309
        call->private = ++irq->notif_cfg.counter;
309
        call->priv = ++irq->notif_cfg.counter;
310
        /* Set up args */
310
        /* Set up args */
311
        IPC_SET_METHOD(call->data, irq->notif_cfg.method);
311
        IPC_SET_METHOD(call->data, irq->notif_cfg.method);
312
 
312
 
313
        /* Execute code to handle irq */
313
        /* Execute code to handle irq */
314
        code_execute(call, irq->notif_cfg.code);
314
        code_execute(call, irq->notif_cfg.code);