zephyr/tests/ztest
Andy Ross 220d4f8347 sys_clock.h: Make "global variable" APIs into proper functions
The existing API defined sys_clock_{hw_cycles,ticks}_per_sec as simple
"variables" to be shared, except that they were only real storage in
certain modes (the HPET driver, basically) and everywhere else they
were a build constant.

Properly, these should be an API defined by the timer driver (who
controls those rates) and consumed by the clock subsystem.  So give
them function syntax as a stepping stone to get there.

Note that this also removes the deprecated variable
_sys_clock_us_per_tick rather than give it the same treatment.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-10-16 15:03:10 -04:00
..
include sys_clock.h: Make "global variable" APIs into proper functions 2018-10-16 15:03:10 -04:00
src coccicnelle: Ignore return of memset 2018-09-14 16:55:37 -04:00
test tests: rename test entry functions 2018-08-31 15:11:39 -04:00
CMakeLists.txt
Kconfig tests: kconfig: Remove redundant 'default n' properties 2018-06-22 15:11:58 -04:00