Changeset 124 for trunk/kernel/libk
- Timestamp:
- Jul 3, 2017, 2:36:39 PM (7 years ago)
- Location:
- trunk/kernel/libk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/grdxt.c
r1 r124 221 221 // register the value 222 222 ptr3[ix3] = value; 223 hal_ wbflush();223 hal_fence(); 224 224 225 225 return 0; … … 264 264 // reset selected slot 265 265 ptr3[ix3] = NULL; 266 hal_ wbflush();266 hal_fence(); 267 267 268 268 return value; -
trunk/kernel/libk/readlock.c
r14 r124 66 66 67 67 // sync 68 hal_ wbflush();68 hal_fence(); 69 69 70 70 // release lock to support several parallel read access -
trunk/kernel/libk/remote_fifo.c
r68 r124 113 113 // copy item to fifo 114 114 hal_remote_swd( XPTR( cxy , &ptr->data[ptw] ), *item ); 115 hal_ wbflush();115 hal_fence(); 116 116 117 117 // set the slot valid flag 118 118 hal_remote_sw( XPTR( cxy , &ptr->valid[ptw] ) , 1 ); 119 hal_ wbflush();119 hal_fence(); 120 120 121 121 // return the first RPC flag -
trunk/kernel/libk/remote_mutex.c
r60 r124 214 214 } 215 215 216 hal_ wbflush();216 hal_fence(); 217 217 218 218 } // end remote_mutex_lock() -
trunk/kernel/libk/remote_rwlock.c
r60 r124 82 82 83 83 // sync 84 hal_ wbflush();84 hal_fence(); 85 85 86 86 // release lock to allow several simultaneous readers -
trunk/kernel/libk/rwlock.c
r60 r124 66 66 67 67 // consistency 68 hal_ wbflush();68 hal_fence(); 69 69 70 70 // release the lock to allow several simultaneous readers
Note: See TracChangeset
for help on using the changeset viewer.