diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2019-10-21 14:43:56 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-10-25 13:09:12 +0100 |
| commit | 663e475fbeecf3de9b4d1a84454bccfb67e87bc2 (patch) | |
| tree | b138ab59f6ae1c7dfc8a1bfa03470ba39f343b16 /hw/timer/sh_timer.c | |
| parent | 2ee62f32a7a069de8d6917f8be16f6267d97cad8 (diff) | |
| download | focaccia-qemu-663e475fbeecf3de9b4d1a84454bccfb67e87bc2.tar.gz focaccia-qemu-663e475fbeecf3de9b4d1a84454bccfb67e87bc2.zip | |
hw/timer/grlib_gptimer.c: Switch to transaction-based ptimer API
Switch the grlib_gptimer 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> Message-id: 20191021134357.14266-3-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/sh_timer.c')
0 files changed, 0 insertions, 0 deletions