Subversion Repositories HelenOS

Rev

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

Rev 3947 Rev 3964
Line 161... Line 161...
161
    irq = malloc(sizeof(irq_t), 0);
161
    irq = malloc(sizeof(irq_t), 0);
162
    irq_initialize(irq);
162
    irq_initialize(irq);
163
    irq->devno = devno;
163
    irq->devno = devno;
164
    irq->inr = inr;
164
    irq->inr = inr;
165
    irq->claim = ipc_irq_top_half_claim;
165
    irq->claim = ipc_irq_top_half_claim;
166
    irq->handler = ipc_irq_top_half_handler;   
166
    irq->handler = ipc_irq_top_half_handler;
167
    irq->notif_cfg.notify = true;
167
    irq->notif_cfg.notify = true;
168
    irq->notif_cfg.answerbox = box;
168
    irq->notif_cfg.answerbox = box;
169
    irq->notif_cfg.method = method;
169
    irq->notif_cfg.method = method;
170
    irq->notif_cfg.code = code;
170
    irq->notif_cfg.code = code;
171
    irq->notif_cfg.counter = 0;
171
    irq->notif_cfg.counter = 0;