Ignore:
Timestamp:
Jun 29, 2017, 4:44:52 PM (7 years ago)
Author:
alain
Message:

euh...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/sys_clock.c

    r23 r101  
    2424#include <hal_types.h>
    2525#include <hal_uspace.h>
     26#include <hal_special.h>
    2627#include <errno.h>
    2728#include <core.h>
     
    5354
    5455    // call relevant core function
    55         k_cycles = core_get_cycles( this->core );
     56        k_cycles = hal_get_cycles();
    5657
    5758    // copy to user space
Note: See TracChangeset for help on using the changeset viewer.