diff options
author | Peter Maydell | 2019-10-22 17:50:36 +0200 |
---|---|---|
committer | Peter Maydell | 2019-10-22 18:44:00 +0200 |
commit | 28015830d944169edd2db0cfd64c84e937ec4f25 (patch) | |
tree | e831d4b84cb5e605011413f4ee408ab1906b39fd /hw/timer/lm32_timer.c | |
parent | hw/timer/puv3_ost.c: Switch to transaction-based ptimer API (diff) | |
download | qemu-28015830d944169edd2db0cfd64c84e937ec4f25.tar.gz qemu-28015830d944169edd2db0cfd64c84e937ec4f25.tar.xz qemu-28015830d944169edd2db0cfd64c84e937ec4f25.zip |
hw/timer/sh_timer: Switch to transaction-based ptimer API
Switch the sh_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-3-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions