220d4f8347
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> |
||
---|---|---|
.. | ||
arch | ||
syscalls | ||
kernel_arch_thread.h | ||
offsets.h | ||
syscall_list.h | ||
syscall_macros.h | ||
ztest.h | ||
ztest_assert.h | ||
ztest_mock.h | ||
ztest_test.h |