Rev 3343 | Rev 3493 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3343 | Rev 3489 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | { |
69 | { |
70 | uint64_t intrcv; |
70 | uint64_t intrcv; |
71 | uint64_t data0; |
71 | uint64_t data0; |
72 | 72 | ||
73 | intrcv = asi_u64_read(ASI_INTR_RECEIVE, 0); |
73 | intrcv = asi_u64_read(ASI_INTR_RECEIVE, 0); |
- | 74 | #if defined (US) |
|
74 | data0 = asi_u64_read(ASI_UDB_INTR_R, ASI_UDB_INTR_R_DATA_0); |
75 | data0 = asi_u64_read(ASI_INTR_R, ASI_UDB_INTR_R_DATA_0); |
- | 76 | #elif defined (US3) |
|
- | 77 | data0 = asi_u64_read(ASI_INTR_R, VA_INTR_R_DATA_0); |
|
- | 78 | #endif |
|
75 | 79 | ||
76 | irq_t *irq = irq_dispatch_and_lock(data0); |
80 | irq_t *irq = irq_dispatch_and_lock(data0); |
77 | if (irq) { |
81 | if (irq) { |
78 | /* |
82 | /* |
79 | * The IRQ handler was found. |
83 | * The IRQ handler was found. |