zephyr/drivers/timer
Andy Ross bab348e915 drivers/timer/hpet: Work around crazy qemu behavior
At least twice (to be fair: twice among thousands of test runs), I've
seen this device return "backwards" times in SMP, where the counter
value read from one CPU is behind the saved value already seen on the
other.  On hardware this should obviously never happen, HPET is a
single global device.

Add a simple workaround on QEMU targets so the math doesn't blow up.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-09-26 16:54:06 -04:00
..
altera_avalon_timer_hal.c include: move system timer headers to include/drivers/timer/ 2019-06-25 15:27:00 -04:00
apic_timer.c drivers: apic_timer: fix include of system_timer.h 2019-06-27 10:51:32 -07:00
arcv2_timer0.c arch: arc: add initial support of ARC TEE 2019-08-10 17:45:22 +02:00
cc13x2_cc26x2_rtc_timer.c drivers: timer: add RTC support as system clock for CC13X2/CC26X2 2019-09-19 13:43:10 -05:00
CMakeLists.txt drivers: timer: add RTC support as system clock for CC13X2/CC26X2 2019-09-19 13:43:10 -05:00
cortex_m_systick.c drivers: timer: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
hpet.c drivers/timer/hpet: Work around crazy qemu behavior 2019-09-26 16:54:06 -04:00
Kconfig drivers: timer: add RTC support as system clock for CC13X2/CC26X2 2019-09-19 13:43:10 -05:00
legacy_api.h license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
litex_timer.c include: move system timer headers to include/drivers/timer/ 2019-06-25 15:27:00 -04:00
loapic_timer.c driver: timer: loapic_timer: fix compile issue 2019-07-03 11:56:40 -04:00
mchp_xec_rtos_timer.c drivers : timer : MEC1501 RTOS timer load delay work-around. 2019-09-03 18:37:46 +02:00
native_posix_timer.c native_posix: Replace system timer driver 2019-07-15 14:15:16 +02:00
nrf_rtc_timer.c nordic: Use hal/ in all inclusions of nrfx HAL header files 2019-09-24 16:20:16 +02:00
riscv_machine_timer.c drivers: timer: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
rv32m1_lptmr_timer.c drivers: timer: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
sam0_rtc_timer.c drivers: timer: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
sys_clock_init.c include: move system timer headers to include/drivers/timer/ 2019-06-25 15:27:00 -04:00
xlnx_psttc_timer.c timer: Add Xilinx ZynqMP PS ttc timer 2019-08-09 22:50:50 +02:00
xtensa_sys_timer.c xtensa: remove legacy arch implementation 2019-09-12 01:26:34 -04:00