From dcdaf3027489cadd513767eda6dcaa0c1ecd2d29 Mon Sep 17 00:00:00 2001 From: Yu Chien Peter Lin Date: Fri, 14 Oct 2022 08:32:42 +0800 Subject: lib: sbi: Add sbi_domain_root_add_memrange() API This patch generalizes the logic to add a memory range with desired alignment and flags of consecutive regions to the root domain. Signed-off-by: Yu Chien Peter Lin Reviewed-by: Anup Patel --- include/sbi_utils/timer/aclint_mtimer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sbi_utils/timer') diff --git a/include/sbi_utils/timer/aclint_mtimer.h b/include/sbi_utils/timer/aclint_mtimer.h index f02cc62d..6ab8799c 100644 --- a/include/sbi_utils/timer/aclint_mtimer.h +++ b/include/sbi_utils/timer/aclint_mtimer.h @@ -22,6 +22,8 @@ #define CLINT_MTIMER_OFFSET 0x4000 +#define MTIMER_REGION_ALIGN 0x1000 + struct aclint_mtimer_data { /* Public details */ unsigned long mtime_freq; -- cgit v1.3.1