Mercurial > flash_v2
comparison packages/hal/common/current/src/drv_api.c @ 1158:10a36d0fd6f3
* src/drv_api.c: Added definition of cyg_interrupt_post_dsr() for
use in those HALs that need it.
* include/hal_arbiter.h (hal_call_isr): Removed ifdef on
CYGFUN_HAL_COMMON_KERNEL_SUPPORT around test and call to
cyg_interrupt_post_dsr().
| author | nickg |
|---|---|
| date | Wed, 06 Aug 2003 17:32:30 +0000 |
| parents | d2c90368aeef |
| children |
comparison
equal
deleted
inserted
replaced
| 1157:aacbd943879a | 1158:10a36d0fd6f3 |
|---|---|
| 141 cyg_interrupt_call_pending_DSRs(void) | 141 cyg_interrupt_call_pending_DSRs(void) |
| 142 { | 142 { |
| 143 call_dsrs(); | 143 call_dsrs(); |
| 144 } | 144 } |
| 145 | 145 |
| 146 //-------------------------------------------------------------------------- | |
| 147 // This is called from springboard ISRs in some HALs. | |
| 148 | |
| 149 externC void | |
| 150 cyg_interrupt_post_dsr(CYG_ADDRWORD data) | |
| 151 { | |
| 152 cyg_interrupt * intr = (cyg_interrupt *)data; | |
| 153 post_dsr(intr); | |
| 154 } | |
| 146 | 155 |
| 147 //-------------------------------------------------------------------------- | 156 //-------------------------------------------------------------------------- |
| 148 // Interrupt end function called from HAL VSR to tidy up. This is where | 157 // Interrupt end function called from HAL VSR to tidy up. This is where |
| 149 // DSRs will be called if necessary. | 158 // DSRs will be called if necessary. |
| 150 | 159 |
