diff options
author | Peter Maydell | 2019-10-08 19:17:23 +0200 |
---|---|---|
committer | Peter Maydell | 2019-10-15 19:09:02 +0200 |
commit | 5a65f7b5f4907ca70cb6eae1265e59ccbdfa0937 (patch) | |
tree | 4ceae649be62b2e392acee4f7becae85637256f3 /hw/timer/allwinner-a10-pit.c | |
parent | tests/ptimer-test: Switch to transaction-based ptimer API (diff) | |
download | qemu-5a65f7b5f4907ca70cb6eae1265e59ccbdfa0937.tar.gz qemu-5a65f7b5f4907ca70cb6eae1265e59ccbdfa0937.tar.xz qemu-5a65f7b5f4907ca70cb6eae1265e59ccbdfa0937.zip |
hw/timer/arm_timer.c: Switch to transaction-based ptimer API
Switch the arm_timer.c code away from bottom-half based ptimers
to the new transaction-based ptimer API. This just requires
adding begin/commit calls around the various arms of
arm_timer_write() that modify the ptimer state, and using the
new ptimer_init() function to create the timer.
Fixes: https://bugs.launchpad.net/qemu/+bug/1777777
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191008171740.9679-5-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer/allwinner-a10-pit.c')
0 files changed, 0 insertions, 0 deletions