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

rename hal_wbflush->hal_fence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/core.c

    r101 r124  
    101101        core->cycles         = cycles + elapsed;
    102102        core->ticks_nr       = ticks_nr + (elapsed / core->ticks_period);
    103         hal_wbflush();
     103        hal_fence();
    104104}
    105105
     
    145145        // update core descriptor
    146146        core->usage = usage;
    147         hal_wbflush();
     147        hal_fence();
    148148
    149149#if CONFIG_SHOW_CPU_USAGE
     
    164164        core->usage                 = 0;
    165165        core->thread_idle->ticks_nr = 0;
    166         hal_wbflush();
     166        hal_fence();
    167167}
    168168
Note: See TracChangeset for help on using the changeset viewer.