Ignore:
Timestamp:
Oct 7, 2015, 12:05:03 PM (9 years ago)
Author:
alain
Message:

Cosmetic.

File:
1 edited

Legend:

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

    r709 r715  
    3333///////////////////////////////////////////////////////////////////////////////
    3434
    35 // lock protecting single channel BDV peripheral
     35// lock protecting exclusive access
    3636__attribute__((section(".kdata")))
    37 spin_lock_t  _bdv_lock __attribute__((aligned(64)));
    38 
    39 // global index of the waiting thread (only used in descheduling mode)
     37spin_lock_t      _bdv_lock __attribute__((aligned(64)));
     38
     39// owner thread (only used in descheduling mode)
    4040__attribute__((section(".kdata")))
    41 unsigned int _bdv_trdid;
    42 
    43 // BDV peripheral status (only used in descheduling mode)
     41unsigned int     _bdv_trdid;
     42
     43// transfer status (only used in descheduling mode)
    4444__attribute__((section(".kdata")))
    45 unsigned int _bdv_status;
    46 
    47 ///////////////////////////////////////////////////////////////////////////////
    48 // This low_level function returns the value contained in register (index).
     45unsigned int     _bdv_status;
     46
     47///////////////////////////////////////////////////////////////////////////////
     48// This low_level function returns the value contained in register(index).
    4949///////////////////////////////////////////////////////////////////////////////
    5050unsigned int _bdv_get_register( unsigned int index )
     
    5555
    5656///////////////////////////////////////////////////////////////////////////////
    57 // This low-level function set a new value in register (index).
     57// This low-level function set a new value in register(index).
    5858///////////////////////////////////////////////////////////////////////////////
    5959void _bdv_set_register( unsigned int index,
Note: See TracChangeset for help on using the changeset viewer.