zephyr/tests/ztest/include
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
..
arch
syscalls
kernel_arch_thread.h
offsets.h ld: Put 'sizeof(struct device)' in the generated offsets header 2018-09-18 16:23:40 +02:00
syscall_list.h
syscall_macros.h
ztest.h sys_clock.h: Make "global variable" APIs into proper functions 2018-10-16 15:03:10 -04:00
ztest_assert.h ztest: prints newline after failure message 2018-05-09 09:33:24 -04:00
ztest_mock.h
ztest_test.h userspace: compartmentalized app memory organization 2018-07-25 12:02:01 -07:00