Changeset 333 for soft/giet_vm/giet_drivers/bdv_driver.c
- Timestamp:
- Jun 19, 2014, 1:31:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/bdv_driver.c
r320 r333 136 136 _bdv_set_register( BLOCK_DEVICE_LBA , lba ); 137 137 138 #if GIET_DEBUG_IOC_DRIVER 139 _printf("\n[BDV DEBUG] _bdv_access() : config registers set\n"); 140 #endif 141 138 142 // In BOOT mode, we launch transfer, and poll the BDV_STATUS 139 143 // register because IRQs are masked. … … 144 148 else _bdv_set_register( BLOCK_DEVICE_OP, BLOCK_DEVICE_READ ); 145 149 150 #if GIET_DEBUG_IOC_DRIVER 151 _printf("\n[BDV DEBUG] _bdv_access() : transfert lauched in polling mode\n"); 152 #endif 146 153 unsigned int status; 147 154 do … … 185 192 // enters critical section 186 193 _it_disable( &save_sr ); 187 188 194 189 195 // set _bdv_gtid and reset runnable … … 195 201 else _bdv_set_register( BLOCK_DEVICE_OP, BLOCK_DEVICE_READ ); 196 202 203 #if GIET_DEBUG_IOC_DRIVER 204 _printf("\n[BDV DEBUG] _bdv_access() : transfert lauched in interrupt mode\n"); 205 #endif 197 206 // deschedule task 198 207 _ctx_switch();
Note: See TracChangeset
for help on using the changeset viewer.