Changeset 481 for trunk/hal/tsar_mips32/drivers
- Timestamp:
- Aug 21, 2018, 9:51:40 PM (6 years ago)
- Location:
- trunk/hal/tsar_mips32/drivers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_pic.c
r468 r481 50 50 51 51 /////////////////////////////// 52 uint32_t soclib_pic_wti_alloc( )52 uint32_t soclib_pic_wti_alloc( void ) 53 53 { 54 54 uint32_t index; … … 69 69 70 70 /////////////////////////////////////// 71 inline uint32_t * soclib_pic_xcu_base( )71 inline uint32_t * soclib_pic_xcu_base( void ) 72 72 { 73 73 return ((soclib_pic_cluster_t *)(LOCAL_CLUSTER->pic_extend))->xcu_base; … … 112 112 113 113 ///////////////////////////// 114 void soclib_pic_irq_handler( )114 void soclib_pic_irq_handler( void ) 115 115 { 116 116 uint32_t hwi_status; // HWI index + 1 / no pending HWI if 0 … … 532 532 533 533 //////////////////////////// 534 void soclib_pic_enable_ipi( )534 void soclib_pic_enable_ipi( void ) 535 535 { 536 536 // calling core local index … … 557 557 558 558 ///////////////////////// 559 void soclib_pic_ack_ipi( )559 void soclib_pic_ack_ipi( void ) 560 560 { 561 561 // get calling core local index -
trunk/hal/tsar_mips32/drivers/soclib_pic.h
r451 r481 241 241 * core local index. 242 242 *****************************************************************************************/ 243 void soclib_pic_enable_ipi( );243 void soclib_pic_enable_ipi( void ); 244 244 245 245 /****************************************************************************************** … … 257 257 * core local index. 258 258 *****************************************************************************************/ 259 void soclib_pic_ack_ipi( );259 void soclib_pic_ack_ipi( void ); 260 260 261 261 … … 277 277 * large for the number of cores in the architecture, and the core goes to sleep. 278 278 *****************************************************************************************/ 279 uint32_t soclib_pic_wti_alloc( );279 uint32_t soclib_pic_wti_alloc( void ); 280 280 281 281 /****************************************************************************************** 282 282 * This function returns the local pointer on the local XCU base segment. 283 283 *****************************************************************************************/ 284 uint32_t * soclib_pic_xcu_base( );284 uint32_t * soclib_pic_xcu_base( void ); 285 285 286 286 /****************************************************************************************** … … 304 304 * This SOCLIB PIC specific is the call-back function is the interrupt handler. 305 305 *****************************************************************************************/ 306 void soclib_pic_irq_handler( );306 void soclib_pic_irq_handler( void ); 307 307 308 308
Note: See TracChangeset
for help on using the changeset viewer.