Changeset 471 for trunk/kernel


Ignore:
Timestamp:
Aug 21, 2018, 12:53:40 PM (6 years ago)
Author:
viala@…
Message:

Fix: In dev_fbf.c we used hal_get_cycle instead of hal_get_cycles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_fbf.c

    r457 r471  
    166166
    167167#if DEBUG_DEV_FBF_RX
    168 uint32_t cycle = (uint32_t)hal_get_cycle();
     168uint32_t cycle = (uint32_t)hal_get_cycles();
    169169if( DEBUG_DEV_FBF_RX < cycle )
    170170printk("\n[DBG] %s : thread %x enter / process %x / vaddr %x / size %x\n",
     
    175175
    176176#if DEBUG_DEV_FBF_RX
    177 cycle = (uint32_t)hal_get_cycle();
     177cycle = (uint32_t)hal_get_cycles();
    178178if( DEBUG_DEV_FBF_RX < cycle )
    179179printk("\n[DBG] %s : thread %x exit / process %x / vaddr %x / size %x\n",
     
    190190
    191191#if DEBUG_DEV_FBF_TX
    192 uint32_t cycle = (uint32_t)hal_get_cycle();
     192uint32_t cycle = (uint32_t)hal_get_cycles();
    193193if( DEBUG_DEV_FBF_TX < cycle )
    194194printk("\n[DBG] %s : thread %x enter / process %x / vaddr %x / size %x\n",
     
    199199
    200200#if DEBUG_DEV_FBF_RX
    201 cycle = (uint32_t)hal_get_cycle();
     201cycle = (uint32_t)hal_get_cycles();
    202202if( DEBUG_DEV_FBF_RX < cycle )
    203203printk("\n[DBG] %s : thread %x exit / process %x / vaddr %x / size %x\n",
Note: See TracChangeset for help on using the changeset viewer.