summaryrefslogtreecommitdiffstats
path: root/tests/ptimer-test.c
diff options
context:
space:
mode:
authorDmitry Osipenko2016-10-24 17:26:52 +0200
committerPeter Maydell2016-10-24 17:26:52 +0200
commit3f6e6a13c1a059d44b9a55ec7af8c01ef096ff7e (patch)
treee430d703c1b3a2234b94d95b75a73f276fb1b3c6 /tests/ptimer-test.c
parenttests: ptimer: Add tests for "no immediate trigger" policy (diff)
downloadqemu-3f6e6a13c1a059d44b9a55ec7af8c01ef096ff7e.tar.gz
qemu-3f6e6a13c1a059d44b9a55ec7af8c01ef096ff7e.tar.xz
qemu-3f6e6a13c1a059d44b9a55ec7af8c01ef096ff7e.zip
hw/ptimer: Add "no immediate reload" policy
Immediate counter re-load on setting (or on starting to run with) counter = 0 is a wrong behaviour for some of the timers. Add "no immediate reload" policy that provides correct behaviour for such timers. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Message-id: bf9385cd2550ca451d564fa46007688cee3f3d9d.1475421224.git.digetx@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/ptimer-test.c')
0 files changed, 0 insertions, 0 deletions