Changeset 540 for trunk/kernel/devices
- Timestamp:
- Sep 21, 2018, 10:22:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_txt.c
r539 r540 87 87 88 88 // no server thread and no IRQ routing for TXT0 89 // except for LETI where there MUST be IRQ routing 89 90 // no server thread for IMPL_TXT_RS2 (multiplexed in software, not hardware) 90 91 if( channel != 0 && impl != IMPL_TXT_RS2 ) … … 93 94 lid_t lid = cluster_select_local_core(); 94 95 96 // The unique IRQ from cluster 00's MTTY must be bound to a RX chdev 97 // so that all IRQs are considered as RX IRQs and treated as such 98 // Indeed, IRQs are raised by the MTTY only on user keystroke, so IRQs must 99 // always be considered as RX IRQs. 100 if ( ( impl != IMPL_TXT_MTY ) || ( channel == 1 && is_rx == 1 ) ) 101 { 95 102 // bind IRQ to the selected core 96 103 dev_pic_bind_irq( lid , txt ); … … 98 105 // enable IRQ 99 106 dev_pic_enable_irq( lid , XPTR( local_cxy , txt ) ); 107 } 100 108 101 109 // create server thread
Note: See TracChangeset
for help on using the changeset viewer.