diff options
| author | Anup Patel <apatel@ventanamicro.com> | 2024-09-20 16:18:47 +0530 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2024-10-25 23:00:00 +0530 |
| commit | 36c1e4064ff234563e9b0f7ee1e59db2ca1f96e7 (patch) | |
| tree | d04b2445c83045841efa52904cd05e05b49b4a9e /include | |
| parent | dc5d747af809c562ab63994e0f06091b9ea25141 (diff) | |
| download | opensbi-36c1e4064ff234563e9b0f7ee1e59db2ca1f96e7.zip opensbi-36c1e4064ff234563e9b0f7ee1e59db2ca1f96e7.tar.gz opensbi-36c1e4064ff234563e9b0f7ee1e59db2ca1f96e7.tar.bz2 | |
lib: sbi_domain: Make sbi_domain_root_add_memregion() as local function
The sbi_domain_root_add_memregion() is only used within sbi_domain
implementation so rename and make it a local function.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/sbi_domain.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/sbi/sbi_domain.h b/include/sbi/sbi_domain.h index d92f309..fc34982 100644 --- a/include/sbi/sbi_domain.h +++ b/include/sbi/sbi_domain.h @@ -293,16 +293,6 @@ int sbi_domain_register(struct sbi_domain *dom, const struct sbi_hartmask *assign_mask); /** - * Add a memory region to the root domain - * @param reg pointer to the memory region to be added - * - * @return 0 on success - * @return SBI_EALREADY if memory region conflicts with the existing one - * @return SBI_EINVAL otherwise - */ -int sbi_domain_root_add_memregion(const struct sbi_domain_memregion *reg); - -/** * Add a memory range with its flags to the root domain * @param addr start physical address of memory range * @param size physical size of memory range |
