Changeset 520
- Timestamp:
- Aug 30, 2018, 6:23:59 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_hba.c
r440 r520 188 188 else // no slot available in SOCLIB_HBA 189 189 { 190 if( cmd_type == IOC_SYNC_READ ) // fatal if synchronous access 191 { 192 printk("\n[PANIC] in %s : no slot available for a SYNC_READ\n", __FUNCTION__ ); 193 hal_core_sleep(); 194 } 195 else // retry if asynchronous access. 196 { 197 sched_yield( "blocked on ISR" ); 198 } 190 // fatal if synchronous access 191 assert( cmd_type == IOC_SYNC_READ, "no slot available for a IOC_SYNC_READ\n" ); 192 sched_yield( "blocked on ISR" ); 193 } 199 194 } 200 195 } // end while to get a slot
Note: See TracChangeset
for help on using the changeset viewer.