mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-24 04:32:05 +01:00
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 <peterlin@andestech.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
1 parent
60b78fee92
commit
dcdaf30274
4 files changed
+57
-36
No files matched your search
@@ -22,6 +22,8 @@
|
||||
|
||||
#define CLINT_MTIMER_OFFSET 0x4000
|
||||
|
||||
#define MTIMER_REGION_ALIGN 0x1000
|
||||
|
||||
struct aclint_mtimer_data {
|
||||
/* Public details */
|
||||
unsigned long mtime_freq;
|
||||
|
||||
Reference in new issue
Block a user