qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/8] hw/timer/sh_timer: Switch to transaction-based ptimer AP


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 2/8] hw/timer/sh_timer: Switch to transaction-based ptimer API
Date: Thu, 17 Oct 2019 18:01:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 10/17/19 3:28 PM, Peter Maydell wrote:
Switch the sh_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 <address@hidden>
---
  hw/timer/sh_timer.c | 13 +++++++++----
  1 file changed, 9 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]