Changeset 337 for trunk/hal/tsar_mips32
- Timestamp:
- Aug 7, 2017, 12:50:17 PM (7 years ago)
- Location:
- trunk/hal/tsar_mips32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_interrupt.c
r279 r337 35 35 reg_t * regs_tbl ) 36 36 { 37 irq_dmsg("\n[INFO] %s : enter at cycle %d\n", __FUNCTION__ , hal_time_stamp() ); 37 irq_dmsg("\n[INFO] %s : enter / core[%x,%d] / cycle %d\n", 38 __FUNCTION__ , local_cxy , this->core->lid , hal_time_stamp() ); 38 39 39 40 // update user time … … 43 44 soclib_pic_irq_handler(); 44 45 45 // handle pending signals for interrupted thread46 thread_signals_handle( this );47 48 46 // update kernel time 49 47 thread_kernel_time_update( this ); 50 48 51 irq_dmsg("\n[INFO] %s : exit at cycle %d\n", __FUNCTION__ , hal_time_stamp() ); 49 irq_dmsg("\n[INFO] %s : exit / core[%x,%d] / cycle %d\n", 50 __FUNCTION__ , local_cxy , this->core->lid , hal_time_stamp() ); 52 51 } -
trunk/hal/tsar_mips32/drivers/soclib_pic.c
r296 r337 139 139 assert( (index == core->lid) , __FUNCTION__ , "illegal IPI index" ); 140 140 141 // acknowledge WTI141 // read mailbox content to acknowledge WTI, 142 142 uint32_t * base = soclib_pic_xcu_base(); 143 143 ack = base[(XCU_WTI_REG << 5) | core->lid]; 144 144 145 145 // check RPC FIFO, and activate or create a RPC thread 146 // it there is a pending RPC request147 rpc_check();146 // condition is always true, but we must use the ack value 147 if( ack + 1 ) rpc_check(); 148 148 } 149 149 else // it is an external device
Note: See TracChangeset
for help on using the changeset viewer.