On 7/11/25 11:23, Luc Michel wrote:
For more clarity, rename the cpu_riscv_read_rtc function to
riscv_aclint_mtimer_get_ticks:
    - The ACLINT is the time source here, not the CPU,
    - This function returns a number of ticks based on the timer
      frequency.

Rename the _raw version of this function as well and the local variables
storing the result of those function.

Signed-off-by: Luc Michel <[email protected]>
---
  hw/intc/riscv_aclint.c | 31 ++++++++++++++++---------------
  1 file changed, 16 insertions(+), 15 deletions(-)

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


Reply via email to