qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH 01/44] clock: Add ClockEvent parameter to callbacks


From: Richard Henderson
Subject: Re: [PATCH 01/44] clock: Add ClockEvent parameter to callbacks
Date: Wed, 3 Mar 2021 18:50:03 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 2/19/21 6:45 AM, Peter Maydell wrote:
The Clock framework allows users to specify a callback which is
called after the clock's period has been updated.  Some users need to
also have a callback which is called before the clock period is
updated.

As the first step in adding support for notifying Clock users on
pre-update events, add an argument to the ClockCallback to specify
what event is being notified, and add an argument to the various
functions for registering a callback to specify which events are
of interest to that callback.

Note that the documentation update renders correct the previously
incorrect claim in 'Adding a new clock' that callbacks "will be
explained in a following section".

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
Reviewed-by: Luc Michel<luc@lmichel.fr>
---

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~




reply via email to

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