lib: sbi: Add sbi_domain_memregion_init() API
authorAnup Patel <anup.patel@wdc.com>
Fri, 9 Apr 2021 10:32:40 +0000 (16:02 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 13 Apr 2021 05:26:35 +0000 (10:56 +0530)
commit7495bce6f96388f0aeadd95d59e64365cd008450
treeb6fe6b36f185b975bcf133545de553fb6352696a
parentb1df1acd201e388a5ce96fd045593ee5b29c0387
lib: sbi: Add sbi_domain_memregion_init() API

This patch adds sbi_domain_memregion_init() helper API which can
be used by platform support to initialize a domain memory region
before adding it to the root domain.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
include/sbi/sbi_domain.h
lib/sbi/sbi_domain.c