Changeset 296 for trunk/kernel/devices
- Timestamp:
- Jul 31, 2017, 1:59:52 PM (7 years ago)
- Location:
- trunk/kernel/devices
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_dma.c
r279 r296 76 76 77 77 // start server thread 78 thread_block( new_thread , THREAD_BLOCKED_DEV_QUEUE ); 78 79 thread_unblock( XPTR( local_cxy , new_thread ) , THREAD_BLOCKED_GLOBAL ); 79 80 -
trunk/kernel/devices/dev_ioc.c
r279 r296 81 81 82 82 // start server thread 83 thread_block( new_thread , THREAD_BLOCKED_DEV_QUEUE ); 83 84 thread_unblock( XPTR( local_cxy , new_thread ) , THREAD_BLOCKED_GLOBAL ); 84 85 … … 192 193 dev_pic_disable_irq( lid , ioc_xp ); 193 194 194 ioc_dmsg("\n[INFO] %s : coucou 3\n",195 __FUNCTION__ );196 197 195 // call driver function 198 196 cmd( XPTR( local_cxy , this ) ); -
trunk/kernel/devices/dev_nic.c
r279 r296 80 80 81 81 // start server thread 82 thread_block( new_thread , THREAD_BLOCKED_DEV_QUEUE ); 82 83 thread_unblock( XPTR( local_cxy , new_thread ) , THREAD_BLOCKED_GLOBAL ); 83 84 … … 128 129 // block on THREAD_BLOCKED_IO condition and deschedule 129 130 thread_block( thread_ptr , THREAD_BLOCKED_IO ); 130 sched_yield( );131 sched_yield( NULL ); 131 132 132 133 // disable NIC-RX IRQ … … 198 199 // block on THREAD_BLOCKED I/O condition and deschedule 199 200 thread_block( thread_ptr , THREAD_BLOCKED_IO ); 200 sched_yield( );201 sched_yield( NULL ); 201 202 202 203 // disable NIC-TX IRQ -
trunk/kernel/devices/dev_txt.c
r279 r296 86 86 87 87 // start server thread 88 thread_block( new_thread , THREAD_BLOCKED_DEV_QUEUE ); 88 89 thread_unblock( XPTR( local_cxy , new_thread ) , THREAD_BLOCKED_GLOBAL ); 89 90 }
Note: See TracChangeset
for help on using the changeset viewer.