diff options
| author | Yu Chien Peter Lin <[email protected]> | 2022-10-14 08:32:42 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-10-23 10:21:21 +0530 |
| commit | dcdaf3027489cadd513767eda6dcaa0c1ecd2d29 (patch) | |
| tree | be58d2b9242725c70f1ebd1377f20c40c36947a7 /include/sbi_utils/timer | |
| parent | 60b78fee9225155ac6e9d4733bf3dc0f7a8a9933 (diff) | |
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 <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include/sbi_utils/timer')
| -rw-r--r-- | include/sbi_utils/timer/aclint_mtimer.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
