Ignore:
File:
1 edited

Legend:

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

    ra35b458 r83dab11  
    5858        if (status & (!INTR_DISPATCH_STATUS_BUSY))
    5959                panic("Interrupt Dispatch Status busy bit not set\n");
    60 
     60       
    6161        uint64_t intrcv = asi_u64_read(ASI_INTR_RECEIVE, 0);
    6262#if defined (US)
     
    6565        uint64_t data0 = asi_u64_read(ASI_INTR_R, VA_INTR_R_DATA_0);
    6666#endif
    67 
     67       
    6868        irq_t *irq = irq_dispatch_and_lock(data0);
    6969        if (irq) {
     
    7272                 */
    7373                irq->handler(irq);
    74 
     74               
    7575                /*
    7676                 * See if there is a clear-interrupt-routine and call it.
     
    7878                if (irq->cir)
    7979                        irq->cir(irq->cir_arg, irq->inr);
    80 
     80               
    8181                irq_spinlock_unlock(&irq->lock, false);
    8282        } else if (data0 > config.base) {
     
    103103#endif
    104104        }
    105 
     105       
    106106        membar();
    107107        asi_u64_write(ASI_INTR_RECEIVE, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.