Subversion Repositories HelenOS

Rev

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

Rev 3674 Rev 4343
Line 192... Line 192...
192
                key_pressed(x);
192
                key_pressed(x);
193
        }
193
        }
194
    }
194
    }
195
}
195
}
196
 
196
 
197
irq_ownership_t z8530_claim(void)
197
irq_ownership_t z8530_claim(void *instance)
198
{
198
{
199
    return (z8530_read_a(&z8530, RR0) & RR0_RCA);
199
    return (z8530_read_a(&z8530, RR0) & RR0_RCA);
200
}
200
}
201
 
201
 
202
void z8530_irq_handler(irq_t *irq, void *arg, ...)
202
void z8530_irq_handler(irq_t *irq)
203
{
203
{
204
    if (irq->notif_cfg.notify && irq->notif_cfg.answerbox)
204
    if (irq->notif_cfg.notify && irq->notif_cfg.answerbox)
205
        ipc_irq_send_notif(irq);
205
        ipc_irq_send_notif(irq);
206
    else
206
    else
207
        z8530_interrupt();
207
        z8530_interrupt();