[PATCH 14/17] lib: utils/timer: Use scratch space to save per-HART MTIMER pointer

Andrew Jones ajones at ventanamicro.com
Wed May 31 06:06:11 PDT 2023


On Tue, Apr 25, 2023 at 06:02:27PM +0530, Anup Patel wrote:
> Instead of using a global array indexed by hartid, we should use
> scratch space to save per-HART MTIMER pointer.
> 
> Signed-off-by: Anup Patel <apatel at ventanamicro.com>
> ---
>  lib/utils/timer/aclint_mtimer.c | 82 +++++++++++++++++++++++++++------
>  1 file changed, 67 insertions(+), 15 deletions(-)
>

Reviewed-by: Andrew Jones <ajones at ventanamicro.com>



More information about the opensbi mailing list