aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-10-08 18:17:38 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-10-15 18:09:03 +0100
commit00ee4b0f485a96d91beb613ccd43044e354d97df (patch)
treeeb7c80956bf09789b4102fdbcfead28c02a6731a /include
parent1b914994ea5e995f36fe751f7ed1d8858a87b032 (diff)
downloadqemu-00ee4b0f485a96d91beb613ccd43044e354d97df.zip
qemu-00ee4b0f485a96d91beb613ccd43044e354d97df.tar.gz
qemu-00ee4b0f485a96d91beb613ccd43044e354d97df.tar.bz2
hw/timer/mss-timerc: Switch to transaction-based ptimer API
Switch the mss-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> Message-id: 20191008171740.9679-20-peter.maydell@linaro.org
Diffstat (limited to 'include')
-rw-r--r--include/hw/timer/mss-timer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/timer/mss-timer.h b/include/hw/timer/mss-timer.h
index d15d173..e5a784b 100644
--- a/include/hw/timer/mss-timer.h
+++ b/include/hw/timer/mss-timer.h
@@ -46,7 +46,6 @@
#define R_TIM1_MAX 6
struct Msf2Timer {
- QEMUBH *bh;
ptimer_state *ptimer;
uint32_t regs[R_TIM1_MAX];