Changeset 6cd9aa6 in mainline for kernel/genarch/src


Ignore:
Timestamp:
2009-02-15T23:13:55Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
17f168e
Parents:
fa09449
Message:

IRQ handlers are using one superfluous argument and an unused elipsis.
On the other hand, IRQ claim functions would need to be passed the instance
argument.

Location:
kernel/genarch/src/kbd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/kbd/i8042.c

    rfa09449 r6cd9aa6  
    124124}
    125125
    126 static irq_ownership_t i8042_claim(void)
     126static irq_ownership_t i8042_claim(void *instance)
    127127{
    128128        return IRQ_ACCEPT;
    129129}
    130130
    131 static void i8042_irq_handler(irq_t *irq, void *arg, ...)
     131static void i8042_irq_handler(irq_t *irq)
    132132{
    133133        if (irq->notif_cfg.notify && irq->notif_cfg.answerbox)
  • kernel/genarch/src/kbd/ns16550.c

    rfa09449 r6cd9aa6  
    211211}
    212212
    213 irq_ownership_t ns16550_claim(void)
     213irq_ownership_t ns16550_claim(void *instance)
    214214{
    215215        return (ns16550_lsr_read(&ns16550) & LSR_DATA_READY);
    216216}
    217217
    218 void ns16550_irq_handler(irq_t *irq, void *arg, ...)
     218void ns16550_irq_handler(irq_t *irq)
    219219{
    220220        if (irq->notif_cfg.notify && irq->notif_cfg.answerbox)
  • kernel/genarch/src/kbd/z8530.c

    rfa09449 r6cd9aa6  
    195195}
    196196
    197 irq_ownership_t z8530_claim(void)
     197irq_ownership_t z8530_claim(void *instance)
    198198{
    199199        return (z8530_read_a(&z8530, RR0) & RR0_RCA);
    200200}
    201201
    202 void z8530_irq_handler(irq_t *irq, void *arg, ...)
     202void z8530_irq_handler(irq_t *irq)
    203203{
    204204        if (irq->notif_cfg.notify && irq->notif_cfg.answerbox)
Note: See TracChangeset for help on using the changeset viewer.