diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-10-22 16:50:36 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-10-22 17:44:00 +0100 |
commit | 23bc3e3e49818e038f09e05bc3912f3f4ff80f84 (patch) | |
tree | 6e469e3479a0b86895ad4d41aedae07cf9e0945a /hw/timer/arm_timer.c | |
parent | b360a65cf9936bb3ef0e8e94efa553e03081a7b4 (diff) | |
download | qemu-23bc3e3e49818e038f09e05bc3912f3f4ff80f84.zip qemu-23bc3e3e49818e038f09e05bc3912f3f4ff80f84.tar.gz qemu-23bc3e3e49818e038f09e05bc3912f3f4ff80f84.tar.bz2 |
hw/timer/altera_timer.c: Switch to transaction-based ptimer API
Switch the altera_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: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20191017132905.5604-6-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer/arm_timer.c')
0 files changed, 0 insertions, 0 deletions