Changeset 492 for trunk/hal/tsar_mips32/drivers/soclib_pic.c
- Timestamp:
- Aug 22, 2018, 11:55:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_pic.c
r481 r492 57 57 soclib_pic_cluster_t * ext_ptr = LOCAL_CLUSTER->pic_extend; 58 58 59 assert( (ext_ptr->first_free_wti < ext_ptr->wti_nr) , __FUNCTION__ ,59 assert( (ext_ptr->first_free_wti < ext_ptr->wti_nr) , 60 60 "no free WTI found : too much external IRQs\n"); 61 61 … … 146 146 if( index < LOCAL_CLUSTER->cores_nr ) // it is an IPI 147 147 { 148 assert( (index == core->lid) , __FUNCTION__ ,"illegal IPI index" );148 assert( (index == core->lid) , "illegal IPI index" ); 149 149 150 150 #if DEBUG_HAL_IRQS … … 229 229 index = pti_status - 1; 230 230 231 assert( (index == core->lid) , __FUNCTION__ ,"unconsistent PTI index\n");231 assert( (index == core->lid) , "unconsistent PTI index\n"); 232 232 233 233 #if DEBUG_HAL_IRQS … … 292 292 core_ext_ptr = kmem_alloc( &req ); 293 293 294 assert( (core_ext_ptr != NULL) , __FUNCTION__ ,294 assert( (core_ext_ptr != NULL) , 295 295 "cannot allocate memory for core extension\n"); 296 296 … … 309 309 cluster_ext_ptr = kmem_alloc( &req ); 310 310 311 assert( (cluster_ext_ptr != NULL) , __FUNCTION__ ,311 assert( (cluster_ext_ptr != NULL) , 312 312 "cannot allocate memory for cluster extension\n"); 313 313 … … 381 381 else if( (func == DEV_FUNC_NIC) && !is_rx ) hwi_id = iopic_input.nic_tx[channel]; 382 382 else if( func == DEV_FUNC_IOB ) hwi_id = iopic_input.iob; 383 else assert( false , __FUNCTION__ ,"illegal device functionnal type\n");383 else assert( false , "illegal device functionnal type\n"); 384 384 385 385 // get a WTI mailbox from local XCU descriptor … … 439 439 else 440 440 { 441 assert( false , __FUNCTION__ ,"illegal device functionnal type\n" );441 assert( false , "illegal device functionnal type\n" ); 442 442 } 443 443 } // end soclib_pic_bind_irq(); … … 474 474 else 475 475 { 476 assert( false , __FUNCTION__ ,"illegal IRQ type\n" );476 assert( false , "illegal IRQ type\n" ); 477 477 } 478 478 } // end soclib_pic_enable_irq() … … 509 509 else 510 510 { 511 assert( false , __FUNCTION__ ,"illegal IRQ type\n" );511 assert( false , "illegal IRQ type\n" ); 512 512 } 513 513 } // end soclib_pic_enable_irq()
Note: See TracChangeset
for help on using the changeset viewer.