hw/dma/xilinx_axidma.c: Switch to transaction-based ptimer API
commite982ba0524772c3fdcd166f59b062069bd8aa69c
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Oct 2019 13:21:22 +0000 (17 14:21 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Oct 2019 16:16:29 +0000 (24 17:16 +0100)
treefa9f721f4043eb1adde1bb238be42a9245a17815
parent8d986979be1ea44959f49e140fd51a4e92466b74
hw/dma/xilinx_axidma.c: Switch to transaction-based ptimer API

Switch the xilinx_axidma 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-4-peter.maydell@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/dma/xilinx_axidma.c