hw/timer/puv3_ost.c: Switch to transaction-based ptimer API
commitc54dd4b70197242360749a3053986e88312c26c4
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 22 Oct 2019 15:50:35 +0000 (22 16:50 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 22 Oct 2019 16:44:00 +0000 (22 17:44 +0100)
treead59fbfc135f410a163a9b6df9c48c53d38e1bbb
parenta1f9a907eabcc0910e8dd06c5e87559fe97301b6
hw/timer/puv3_ost.c: Switch to transaction-based ptimer API

Switch the puv3_ost code away from bottom-half based ptimers to the
new transaction-based ptimer API.  This just requires adding
begin/commit calls around the various places that modify the ptimer
state, and using the new ptimer_init() function to create the timer.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20191017132905.5604-2-peter.maydell@linaro.org
hw/timer/puv3_ost.c