zephyr/kernel
Andy Ross fa99ad66d0 sys_clock: Fix up tick announce API
There were three separate "announce ticks" entry points exposed for
use by drivers.  Unify them to just a single z_clock_announce()
function, making the "final" tick announcement the business of the
driver only, not the kernel.

Note the oddness with "_sys_idle_elapsed_ticks": this was a global
variable exposed by the kernel.  But it was never actually used by the
kernel.  It was updated and inspected only within the timer drivers,
and only so that it could be passed back to the kernel as the default
(actually hidden) argument to the announce function.  Break this false
dependency by putting this variable into each timer driver
individually.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-10-16 15:03:10 -04:00
..
include kernel: Fix overflow test problem introduced in 92ea2f9 2018-10-04 05:20:29 -07:00
alert.c
atomic_c.c
CMakeLists.txt
compiler_stack_protect.c
device.c
errno.c
idle.c
init.c kernel: move to new logger 2018-10-08 17:49:12 -04:00
int_latency_bench.c
Kconfig clock: Remove CONFIG_TICKLESS_KERNEL_TIME_UNIT_IN_MICRO_SECS 2018-10-16 15:03:10 -04:00
Kconfig.power_mgmt clock: Remove CONFIG_TICKLESS_KERNEL_TIME_UNIT_IN_MICRO_SECS 2018-10-16 15:03:10 -04:00
mailbox.c kernel: Sanitize if else statement according with MISRA-C 2018-09-28 07:58:19 +05:30
mem_domain.c
mem_slab.c
mempool.c sys_clock: Fix unsafe tick count usage 2018-10-16 15:03:10 -04:00
msg_q.c
mutex.c
pipes.c
poll.c kernel: Fix overflow test problem introduced in 92ea2f9 2018-10-04 05:20:29 -07:00
queue.c
sched.c
sem.c
smp.c
stack.c
sys_clock.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00
system_work_q.c
thread_abort.c
thread.c sys_clock.h: Make "global variable" APIs into proper functions 2018-10-16 15:03:10 -04:00
timer.c
userspace_handler.c
userspace.c kernel: move to new logger 2018-10-08 17:49:12 -04:00
version.c
work_q.c