Changeset 124 for trunk/kernel/libk


Ignore:
Timestamp:
Jul 3, 2017, 2:36:39 PM (7 years ago)
Author:
max@…
Message:

rename hal_wbflush->hal_fence

Location:
trunk/kernel/libk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/grdxt.c

    r1 r124  
    221221    // register the value
    222222        ptr3[ix3] = value;
    223         hal_wbflush();
     223        hal_fence();
    224224
    225225        return 0;
     
    264264    // reset selected slot
    265265        ptr3[ix3] = NULL;
    266         hal_wbflush();
     266        hal_fence();
    267267
    268268        return value;
  • trunk/kernel/libk/readlock.c

    r14 r124  
    6666
    6767    // sync
    68     hal_wbflush();
     68    hal_fence();
    6969
    7070    // release lock to support several parallel read access
  • trunk/kernel/libk/remote_fifo.c

    r68 r124  
    113113    // copy item to fifo
    114114        hal_remote_swd( XPTR( cxy , &ptr->data[ptw] ), *item );
    115         hal_wbflush();
     115        hal_fence();
    116116
    117117    // set the slot valid flag
    118118        hal_remote_sw( XPTR( cxy , &ptr->valid[ptw] ) , 1 );
    119         hal_wbflush();
     119        hal_fence();
    120120
    121121    // return the first RPC flag
  • trunk/kernel/libk/remote_mutex.c

    r60 r124  
    214214    } 
    215215
    216     hal_wbflush();
     216    hal_fence();
    217217
    218218}  // end remote_mutex_lock()
  • trunk/kernel/libk/remote_rwlock.c

    r60 r124  
    8282
    8383    // sync
    84     hal_wbflush();
     84    hal_fence();
    8585
    8686    // release lock to allow several simultaneous readers
  • trunk/kernel/libk/rwlock.c

    r60 r124  
    6666
    6767    // consistency
    68     hal_wbflush();
     68    hal_fence();
    6969
    7070    // release the lock to allow several simultaneous readers
Note: See TracChangeset for help on using the changeset viewer.