Subversion Repositories HelenOS

Rev

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

Rev 4342 Rev 4343
Line 121... Line 121...
121
    spinlock_unlock(&i8042_mouse_irq.lock);
121
    spinlock_unlock(&i8042_mouse_irq.lock);
122
   
122
   
123
    interrupts_restore(ipl);
123
    interrupts_restore(ipl);
124
}
124
}
125
 
125
 
126
static irq_ownership_t i8042_claim(void)
126
static irq_ownership_t i8042_claim(void *instance)
127
{
127
{
128
    return IRQ_ACCEPT;
128
    return IRQ_ACCEPT;
129
}
129
}
130
 
130
 
131
static void i8042_irq_handler(irq_t *irq, void *arg, ...)
131
static void i8042_irq_handler(irq_t *irq)
132
{
132
{
133
    if (irq->notif_cfg.notify && irq->notif_cfg.answerbox)
133
    if (irq->notif_cfg.notify && irq->notif_cfg.answerbox)
134
        ipc_irq_send_notif(irq);
134
        ipc_irq_send_notif(irq);
135
    else {
135
    else {
136
        uint8_t data;
136
        uint8_t data;