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 ztest: add missing includes 2017-10-11 09:21:05 -05:00
kernel_arch_thread.h test: fix misspellings 2017-06-17 22:34:45 -04:00
offsets.h ld: Put 'sizeof(struct device)' in the generated offsets header 2018-09-18 16:23:40 +02:00
syscall_list.h ztest: add missing includes 2017-10-11 09:21:05 -05:00
syscall_macros.h ztest: add missing includes 2017-10-11 09:21:05 -05:00
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 Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
ztest_test.h userspace: compartmentalized app memory organization 2018-07-25 12:02:01 -07:00