On 7/11/25 11:23, Luc Michel wrote:
Implement the register_time_change_notifier method of the
RISCVCPUTimeSrcIf interface in the ACLINT. Keep a notifier list and
notify it upon `time' register modification. This effectively replaces
the explicit calls to the internal riscv_timer_write_timecmp CPU
functions as this is now done by the corresponding CPU notifier.

Signed-off-by: Luc Michel <[email protected]>
---
  include/hw/intc/riscv_aclint.h |  1 +
  hw/intc/riscv_aclint.c         | 16 +++++++++++-----
  2 files changed, 12 insertions(+), 5 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to