Re: [PATCH v2 21/21] hw/net/lan9118.c: Switch to transaction-based ptimer API

2019-10-09 Thread Richard Henderson
On 10/8/19 1:17 PM, Peter Maydell wrote: > Switch the cmsdk-apb-watchdog 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() func

[PATCH v2 21/21] hw/net/lan9118.c: Switch to transaction-based ptimer API

2019-10-08 Thread Peter Maydell
Switch the cmsdk-apb-watchdog 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 M