Changeset 457 for trunk/hal/tsar_mips32/drivers/soclib_tty.c
- Timestamp:
- Aug 2, 2018, 11:47:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_tty.c
r451 r457 272 272 xptr_t parent_main_xp; // local pointer on parent process main thread 273 273 274 // get TXT chdev channel, direction and server thread274 // get TXT chdev channel, direction, server thread, and server core 275 275 channel = chdev->channel; 276 276 is_rx = chdev->is_rx; … … 455 455 thread_unblock( XPTR( local_cxy , server ) , THREAD_BLOCKED_ISR ); 456 456 457 // send IPI to core running server thread 458 dev_pic_send_ipi( local_cxy , server_lid ); 457 // send IPI to core running server thread if required 458 if( server_lid != CURRENT_THREAD->core->lid ) 459 { 460 dev_pic_send_ipi( local_cxy , server_lid ); 461 } 459 462 } 460 463 else … … 501 504 thread_unblock( XPTR( local_cxy , server ) , THREAD_BLOCKED_ISR ); 502 505 503 // send IPI to core running server thread 504 dev_pic_send_ipi( local_cxy , server_lid ); 506 // send IPI to core running server thread if required 507 if( server_lid != CURRENT_THREAD->core->lid ) 508 { 509 dev_pic_send_ipi( local_cxy , server_lid ); 510 } 505 511 506 512 } // end TX
Note: See TracChangeset
for help on using the changeset viewer.