Changeset 657 for soft/giet_vm/giet_drivers/hba_driver.c
- Timestamp:
- Jul 22, 2015, 5:36:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/hba_driver.c
r630 r657 98 98 /////////////////////////////////////////////////////////////////////////////// 99 99 // This blocking fonction allocates a free command index to the task. 100 // The hba_allocator_lock is used exceptin boot mode.100 // The hba_allocator_lock is not used in boot mode. 101 101 // It returns the allocated command index (between 0 and 31) 102 102 /////////////////////////////////////////////////////////////////////////////// … … 448 448 // Reset NORUN_MASK_IOC bit 449 449 static_scheduler_t* psched = (static_scheduler_t*)_schedulers[x][y][p]; 450 unsigned int* ptr = &psched->context[ltid][CTX_NORUN_ID]; 451 _atomic_and( ptr , ~NORUN_MASK_IOC ); 450 _atomic_and( &psched->context[ltid][CTX_NORUN_ID] , ~NORUN_MASK_IOC ); 452 451 453 452 // send a WAKUP WTI to processor running the waiting task
Note: See TracChangeset
for help on using the changeset viewer.