zephyr/drivers/timer
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
..
altera_avalon_timer_hal.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00
arcv2_timer0.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00
CMakeLists.txt board: posix: add native_posix board definition 2017-12-27 14:16:08 -05:00
cortex_m_systick.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00
hpet.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00
Kconfig drivers: timer nRF: simplify kconfig depend 2018-10-15 09:36:37 -04:00
loapic_timer.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00
native_posix_timer.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00
nrf_rtc_timer.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00
pulpino_timer.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00
riscv_machine_timer.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00
sys_clock_init.c drivers: timer: init earlier in boot sequence 2017-07-10 11:44:56 -07:00
xtensa_sys_timer.c sys_clock: Fix up tick announce API 2018-10-16 15:03:10 -04:00