Changeset e3890b3f in mainline for kernel/arch/sparc64/src


Ignore:
Timestamp:
2006-10-15T12:46:29Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b017ba
Parents:
63530c62
Message:

More IRQ stuff.
Modify the IRQ hash table functions to support lookup based on inr and devno.
Add method member to irq_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/trap/interrupt.c

    r63530c62 re3890b3f  
    4747#include <mm/tlb.h>
    4848#include <config.h>
     49#include <synch/spinlock.h>
    4950
    5051/*
     
    8990        data0 = asi_u64_read(ASI_UDB_INTR_R, ASI_UDB_INTR_R_DATA_0);
    9091
    91         irq_t *irq = irq_dispatch(data0);
     92        irq_t *irq = irq_dispatch_and_lock(data0);
    9293        if (irq) {
    9394                /*
     
    9596                 */
    9697                irq->handler(irq, irq->arg);
     98                spinlock_unlock(&irq->lock);
    9799        } else if (data0 > config.base) {
    98100                /*
Note: See TracChangeset for help on using the changeset viewer.