hw/timer/xilinx_timer.c: Switch to transaction-based ptimer API
commit8d986979be1ea44959f49e140fd51a4e92466b74
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Oct 2019 13:21:21 +0000 (17 14:21 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Oct 2019 16:16:28 +0000 (24 17:16 +0100)
tree9e13416b5f128d5b75c78dba422feacd033ec47b
parent383a6753b250750d20d68501377fef815f88352d
hw/timer/xilinx_timer.c: Switch to transaction-based ptimer API

Switch the xilinx_timer 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>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20191017132122.4402-3-peter.maydell@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/timer/xilinx_timer.c