Subversion Repositories HelenOS

Rev

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

Rev 1932 Rev 1934
Line 249... Line 249...
249
    return -1;
249
    return -1;
250
}
250
}
251
 
251
 
252
static void cuda_irq_handler(irq_t *irq, void *arg, ...)
252
static void cuda_irq_handler(irq_t *irq, void *arg, ...)
253
{
253
{
254
    if (irq->notif_cfg.notify && irq->notif_cfg.answerbox)
254
    if ((irq->notif_cfg.notify) && (irq->notif_cfg.answerbox))
255
        ipc_irq_send_notif(irq);
255
        ipc_irq_send_notif(irq);
256
    else {
256
    else {
257
        int scan_code = cuda_get_scancode();
257
        int scan_code = cuda_get_scancode();
258
       
258
       
259
        if (scan_code != -1) {
259
        if (scan_code != -1) {
Line 303... Line 303...
303
 
303
 
304
    sysinfo_set_item_val("kbd", NULL, true);
304
    sysinfo_set_item_val("kbd", NULL, true);
305
    sysinfo_set_item_val("kbd.devno", NULL, devno);
305
    sysinfo_set_item_val("kbd.devno", NULL, devno);
306
    sysinfo_set_item_val("kbd.inr", NULL, CUDA_IRQ);
306
    sysinfo_set_item_val("kbd.inr", NULL, CUDA_IRQ);
307
    sysinfo_set_item_val("kbd.address.virtual", NULL, base);
307
    sysinfo_set_item_val("kbd.address.virtual", NULL, base);
308
 
-
 
309
    cuda_grab();
-
 
310
}
308
}
311
 
309
 
312
 
310
 
313
void send_packet(const uint8_t kind, index_t count, ...)
311
void send_packet(const uint8_t kind, index_t count, ...)
314
{
312
{