OSDN Git Service

hw/ptimer: Introduce timer policy feature
authorDmitry Osipenko <digetx@gmail.com>
Thu, 22 Sep 2016 17:13:06 +0000 (18:13 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Sep 2016 17:13:06 +0000 (18:13 +0100)
commite7ea81c37d6f8b4202f63abbac35267bba1c8260
tree0d2877f9fe156c7625c8534cd4de0869f9f873a4
parent780d23e54e4a62c1bc37641b72e0188b6d13e861
hw/ptimer: Introduce timer policy feature

Some of the timer devices may behave differently from what ptimer
provides. Introduce ptimer policy feature that allows ptimer users to
change default and wrong timer behaviour, for example to continuously
trigger periodic timer when load value is equal to "0".

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Message-id: 994cd608ec392da6e58f0643800dda595edb9d97.1473252818.git.digetx@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
24 files changed:
hw/arm/musicpal.c
hw/core/ptimer.c
hw/dma/xilinx_axidma.c
hw/m68k/mcf5206.c
hw/m68k/mcf5208.c
hw/net/fsl_etsec/etsec.c
hw/net/lan9118.c
hw/timer/allwinner-a10-pit.c
hw/timer/arm_timer.c
hw/timer/digic-timer.c
hw/timer/etraxfs_timer.c
hw/timer/exynos4210_mct.c
hw/timer/exynos4210_pwm.c
hw/timer/exynos4210_rtc.c
hw/timer/grlib_gptimer.c
hw/timer/imx_epit.c
hw/timer/imx_gpt.c
hw/timer/lm32_timer.c
hw/timer/milkymist-sysctl.c
hw/timer/puv3_ost.c
hw/timer/sh_timer.c
hw/timer/slavio_timer.c
hw/timer/xilinx_timer.c
include/hw/ptimer.h