diff options
author | Dmitry Osipenko | 2016-10-24 17:26:52 +0200 |
---|---|---|
committer | Peter Maydell | 2016-10-24 17:26:52 +0200 |
commit | 3f6e6a13c1a059d44b9a55ec7af8c01ef096ff7e (patch) | |
tree | e430d703c1b3a2234b94d95b75a73f276fb1b3c6 /hw/core/machine.c | |
parent | tests: ptimer: Add tests for "no immediate trigger" policy (diff) | |
download | qemu-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 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions