summaryrefslogtreecommitdiffstats
path: root/hw/timer/a9gtimer.c
diff options
context:
space:
mode:
authorPeter Maydell2019-10-21 15:43:57 +0200
committerPeter Maydell2019-10-25 14:08:37 +0200
commit2ee62f32a7a069de8d6917f8be16f6267d97cad8 (patch)
tree24d9d7dfdcfb805a0d8f19c70701335ecf47377e /hw/timer/a9gtimer.c
parenthw/timer/slavio_timer: Remove useless check for NULL t->timer (diff)
downloadqemu-2ee62f32a7a069de8d6917f8be16f6267d97cad8.tar.gz
qemu-2ee62f32a7a069de8d6917f8be16f6267d97cad8.tar.xz
qemu-2ee62f32a7a069de8d6917f8be16f6267d97cad8.zip
hw/timer/slavio_timer.c: Switch to transaction-based ptimer API
Switch the slavio_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: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20191021134357.14266-4-peter.maydell@linaro.org Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/timer/a9gtimer.c')
0 files changed, 0 insertions, 0 deletions