zephyr/drivers/timer
Andrew Boie 15b8ed1a6a arcv2_timer: fix cycle count race
It's possible the timer interrupt could occur when performing the
computation, resulting in incorrect values returned.

It's still possible for bad values to be returned if the function is
called with interrupts locked, but that is only fixable with a second
timer source.

Issue: ZEP-1546
Change-Id: I16d5b04c3e32377f7249eb4fb1bf2f7c22bd0836
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-02-21 01:44:01 +00:00
..
altera_avalon_timer.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00
arcv2_timer0.c arcv2_timer: fix cycle count race 2017-02-21 01:44:01 +00:00
cortex_m_systick.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00
hpet.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00
Kconfig Xtensa port: Added support for Xtensa simulator console driver. 2017-02-13 08:04:27 -08:00
loapic_timer.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00
Makefile Xtensa port: Added support for Xtensa internal timer as system timer. 2017-02-13 08:04:27 -08:00
nrf_rtc_timer.c drivers/timer: Rework the nRF RTC driver. 2017-02-17 20:27:10 +00:00
pulpino_timer.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00
riscv_machine_timer.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00
sys_clock_init.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
xtensa_sys_timer.c kernel: add flexibility to k_cycle_get_32() definition 2017-02-16 19:27:59 +00:00