Changeset 715 for soft/giet_vm/giet_drivers/bdv_driver.c
- Timestamp:
- Oct 7, 2015, 12:05:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/bdv_driver.c
r709 r715 33 33 /////////////////////////////////////////////////////////////////////////////// 34 34 35 // lock protecting single channel BDV peripheral35 // lock protecting exclusive access 36 36 __attribute__((section(".kdata"))) 37 spin_lock_t _bdv_lock __attribute__((aligned(64)));38 39 // global index of the waitingthread (only used in descheduling mode)37 spin_lock_t _bdv_lock __attribute__((aligned(64))); 38 39 // owner thread (only used in descheduling mode) 40 40 __attribute__((section(".kdata"))) 41 unsigned int _bdv_trdid;42 43 // BDV peripheralstatus (only used in descheduling mode)41 unsigned int _bdv_trdid; 42 43 // transfer status (only used in descheduling mode) 44 44 __attribute__((section(".kdata"))) 45 unsigned int _bdv_status;46 47 /////////////////////////////////////////////////////////////////////////////// 48 // This low_level function returns the value contained in register 45 unsigned int _bdv_status; 46 47 /////////////////////////////////////////////////////////////////////////////// 48 // This low_level function returns the value contained in register(index). 49 49 /////////////////////////////////////////////////////////////////////////////// 50 50 unsigned int _bdv_get_register( unsigned int index ) … … 55 55 56 56 /////////////////////////////////////////////////////////////////////////////// 57 // This low-level function set a new value in register 57 // This low-level function set a new value in register(index). 58 58 /////////////////////////////////////////////////////////////////////////////// 59 59 void _bdv_set_register( unsigned int index,
Note: See TracChangeset
for help on using the changeset viewer.