Rev 3674 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3674 | Rev 4339 | ||
---|---|---|---|
Line 70... | Line 70... | ||
70 | uint64_t status; |
70 | uint64_t status; |
71 | uint64_t intrcv; |
71 | uint64_t intrcv; |
72 | uint64_t data0; |
72 | uint64_t data0; |
73 | status = asi_u64_read(ASI_INTR_DISPATCH_STATUS, 0); |
73 | status = asi_u64_read(ASI_INTR_DISPATCH_STATUS, 0); |
74 | if (status & (!INTR_DISPATCH_STATUS_BUSY)) |
74 | if (status & (!INTR_DISPATCH_STATUS_BUSY)) |
75 | panic("Interrupt Dispatch Status busy bit not set\n"); |
75 | panic("Interrupt Dispatch Status busy bit not set."); |
76 | 76 | ||
77 | intrcv = asi_u64_read(ASI_INTR_RECEIVE, 0); |
77 | intrcv = asi_u64_read(ASI_INTR_RECEIVE, 0); |
78 | #if defined (US) |
78 | #if defined (US) |
79 | data0 = asi_u64_read(ASI_INTR_R, ASI_UDB_INTR_R_DATA_0); |
79 | data0 = asi_u64_read(ASI_INTR_R, ASI_UDB_INTR_R_DATA_0); |
80 | #elif defined (US3) |
80 | #elif defined (US3) |