Mercurial > flash_v2
diff packages/kernel/current/src/intr/intr.cxx @ 38:e7ba79f6d3a8 ecos-sw-1999-09-23
Merge from eCos master repository on 1999-09-23-20:10:25-BST
| author | jlarmour |
|---|---|
| date | Thu, 23 Sep 1999 19:52:27 +0000 |
| parents | 7253dcc42a09 |
| children | c38311975d4f |
line wrap: on
line diff
--- a/packages/kernel/current/src/intr/intr.cxx +++ b/packages/kernel/current/src/intr/intr.cxx @@ -147,6 +147,8 @@ Cyg_Interrupt::call_pending_DSRs_inner(v CYG_INSTRUMENT_INTR(CALL_DSR, intr->vector, 0); + CYG_ASSERT( intr->dsr != NULL , "No DSR defined"); + intr->dsr( intr->vector, 1, (CYG_ADDRWORD)intr->data ); } @@ -168,6 +170,8 @@ Cyg_Interrupt::call_pending_DSRs_inner(v intr->dsr_count = 0; HAL_RESTORE_INTERRUPTS(old_intr); + + CYG_ASSERT( intr->dsr != NULL , "No DSR defined"); intr->dsr( intr->vector, count, (CYG_ADDRWORD)intr->data );
