zephyr/drivers/timer
Adithya Baglody 36365e38ba drivers: timers: systick: Enforce a barrier in _timer_cycle_get_32.
The code assumes that when the systick counter hits zero,
the timer interrupt will be taken before the loop can
read the LOAD/VAL registers, but this is not architecturally
guaranteed, and so the code can see a post-reload SysTick->VAL
and a pre-reload clock_accumulated_count, which causes it to
return an incorrectly small cycle count. By adding a ISB we
overcome this issue.

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
2018-09-20 20:35:25 -04:00
..
CMakeLists.txt board: posix: add native_posix board definition 2017-12-27 14:16:08 -05:00
Kconfig Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
altera_avalon_timer_hal.c tests: benchmarks: timing_info: Enable benchmarks for nios2. 2018-08-20 06:51:25 -07:00
arcv2_timer0.c arch: arc: Added benchmark related hooks. 2018-08-20 06:51:25 -07:00
cortex_m_systick.c drivers: timers: systick: Enforce a barrier in _timer_cycle_get_32. 2018-09-20 20:35:25 -04:00
hpet.c kernel: Deprecate sys_clock_us_per_tick variable. 2018-07-20 00:03:52 -04:00
loapic_timer.c loapic timer: LVTT should be programmed before ICR 2018-07-24 09:19:33 -04:00
native_posix_timer.c native_posix: Add missing headers and function prototypes 2018-08-02 19:14:19 +02:00
nrf_rtc_timer.c tracing: support generic tracing hooks 2018-08-21 05:45:47 -07:00
pulpino_timer.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
riscv_machine_timer.c tests: benchmarks: timing_info: Enable benchmarks for riscv32. 2018-08-20 06:51:25 -07:00
sys_clock_init.c drivers: timer: init earlier in boot sequence 2017-07-10 11:44:56 -07:00
xtensa_sys_timer.c tracing: remove stray event_logger code 2018-09-05 16:05:08 -04:00