diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-10-21 14:43:57 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-10-25 13:08:37 +0100 |
commit | 2ee62f32a7a069de8d6917f8be16f6267d97cad8 (patch) | |
tree | 24d9d7dfdcfb805a0d8f19c70701335ecf47377e /hw/timer/ds1338.c | |
parent | 5e3478925dd0640b80d766ed330b7d281d761ceb (diff) |
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/ds1338.c')
0 files changed, 0 insertions, 0 deletions