hw/m68k/mcf5206.c: Switch to transaction-based ptimer API
commitefe62d6fa0dd67573c0cb7f06e87c03801a085d5
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Oct 2019 14:06:00 +0000 (21 15:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 25 Oct 2019 12:09:27 +0000 (25 13:09 +0100)
tree604ff1cab14a51010f311141a6a130f73df7573d
parent663e475fbeecf3de9b4d1a84454bccfb67e87bc2
hw/m68k/mcf5206.c: Switch to transaction-based ptimer API

Switch the mcf5206 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: Thomas Huth <thuth@redhat.com>
Message-id: 20191021140600.10725-1-peter.maydell@linaro.org
hw/m68k/mcf5206.c