[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] hw/m68k/mcf5206.c: Switch to transaction-based ptimer API
From: |
Thomas Huth |
Subject: |
Re: [PATCH v2] hw/m68k/mcf5206.c: Switch to transaction-based ptimer API |
Date: |
Tue, 22 Oct 2019 13:40:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 21/10/2019 16.06, Peter Maydell wrote:
> Switch the mcf5206 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 <address@hidden>
> ---
> Changes v1->v2:
> * turn the early-exit in m5206_timer_recalibrate() into a goto-exit
> so we can end the ptimer transaction
Reviewed-by: Thomas Huth <address@hidden>