diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2019-10-08 18:17:38 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-10-15 18:09:03 +0100 |
| commit | 00ee4b0f485a96d91beb613ccd43044e354d97df (patch) | |
| tree | eb7c80956bf09789b4102fdbcfead28c02a6731a /include/hw | |
| parent | 1b914994ea5e995f36fe751f7ed1d8858a87b032 (diff) | |
| download | focaccia-qemu-00ee4b0f485a96d91beb613ccd43044e354d97df.tar.gz focaccia-qemu-00ee4b0f485a96d91beb613ccd43044e354d97df.zip | |
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/hw')
| -rw-r--r-- | include/hw/timer/mss-timer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/timer/mss-timer.h b/include/hw/timer/mss-timer.h index d15d1732f8..e5a784b27e 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]; |