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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/drivers/gxemul.c

    rfa09449 r6cd9aa6  
    185185 * 
    186186 *  @param irq IRQ information.
    187  *  @param arg Not used.
    188  */
    189 static void gxemul_irq_handler(irq_t *irq, void *arg, ...)
     187 */
     188static void gxemul_irq_handler(irq_t *irq)
    190189{
    191190        if ((irq->notif_cfg.notify) && (irq->notif_cfg.answerbox)) {
     
    205204}
    206205
    207 static irq_ownership_t gxemul_claim(void)
     206static irq_ownership_t gxemul_claim(void *instance)
    208207{
    209208        return IRQ_ACCEPT;
     
    267266}
    268267
    269 static irq_ownership_t gxemul_timer_claim(void)
     268static irq_ownership_t gxemul_timer_claim(void *instance)
    270269{
    271270        return IRQ_ACCEPT;
     
    277276 * @param arg Not used.
    278277 */
    279 static void gxemul_timer_irq_handler(irq_t *irq, void *arg, ...)
     278static void gxemul_timer_irq_handler(irq_t *irq)
    280279{
    281280        /*
     
    371370                        if (irq) {
    372371                                /* The IRQ handler was found. */
    373                                 irq->handler(irq, irq->arg);
     372                                irq->handler(irq);
    374373                                spinlock_unlock(&irq->lock);
    375374                        } else {
Note: See TracChangeset for help on using the changeset viewer.