diff options
author | Anup Patel <anup.patel@wdc.com> | 2021-01-08 10:07:01 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-01-12 10:41:11 +0530 |
commit | db56341dfa1f89e258921d260449eb5edee922c4 (patch) | |
tree | 77a3edcd897d852f25be9d8e9b1f4c9f0afc0a6b /include/sbi/sbi_trap.h | |
parent | 0d49c3bc1823df8bf229ba3ece8ca0a753f0622b (diff) |
lib: sbi: Allow platforms to provide root domain memory regions
Currently, the root domain memory regions are fixed in generic
code but some of the platforms may want to explicitly define
memory regions for the root domain.
This patch adds optional domains_root_regions() platform callback
which platforms can use to provide platform specific root domain
memory regions. Due to this changes, the root domain should also
undergo all sanity checks (just like regular domain) so we use
sbi_domain_register() to register root domain.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi/sbi_trap.h')
0 files changed, 0 insertions, 0 deletions