Ignore:
Timestamp:
Jun 19, 2014, 1:31:45 PM (10 years ago)
Author:
alain
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/bdv_driver.c

    r320 r333  
    136136    _bdv_set_register( BLOCK_DEVICE_LBA       , lba );
    137137
     138#if GIET_DEBUG_IOC_DRIVER
     139_printf("\n[BDV DEBUG] _bdv_access() : config registers set\n");
     140#endif
     141
    138142    // In BOOT mode, we launch transfer, and poll the BDV_STATUS
    139143    // register because IRQs are masked.
     
    144148        else             _bdv_set_register( BLOCK_DEVICE_OP, BLOCK_DEVICE_READ );
    145149
     150#if GIET_DEBUG_IOC_DRIVER
     151_printf("\n[BDV DEBUG] _bdv_access() : transfert lauched in polling mode\n");
     152#endif
    146153        unsigned int status;
    147154        do
     
    185192        // enters critical section
    186193        _it_disable( &save_sr );
    187        
    188194
    189195        // set _bdv_gtid and reset runnable
     
    195201        else             _bdv_set_register( BLOCK_DEVICE_OP, BLOCK_DEVICE_READ  );
    196202
     203#if GIET_DEBUG_IOC_DRIVER
     204_printf("\n[BDV DEBUG] _bdv_access() : transfert lauched in interrupt mode\n");
     205#endif
    197206        // deschedule task
    198207        _ctx_switch();                     
Note: See TracChangeset for help on using the changeset viewer.