opensbi/lib/sbi
Anup Patel 4dc0001b09 lib: sbi: Add sbi_domain_root_add_memregion() API
We should allow platform support to add more root memory regions
before domains are finalized. This will help platform support to
protect critical M-mode only resources.

This patch adds sbi_domain_root_add_memregion() API for above
described purpose.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
2021-04-13 10:56:37 +05:30
..
objects.mk lib: sbi: Add initial domain support 2020-10-20 11:22:15 +05:30
riscv_asm.c lib: sbi: Allow specifying mode in sbi_hart_pmp_check_addr() API 2020-09-16 09:05:25 +05:30
riscv_atomic.c lib: sbi: fix atomic_add_return 2021-04-09 18:51:02 +05:30
riscv_hardfp.S lib: Move sbi core library to lib/sbi 2019-06-19 09:48:51 +05:30
riscv_locks.c lib: sbi: Replace test-and-set locks by ticket locks 2021-04-09 18:48:50 +05:30
sbi_bitmap.c lib: Simple bitmap library 2020-03-11 15:29:45 +05:30
sbi_bitops.c lib: sbi: Fix coding style issues 2020-03-10 10:27:28 +05:30
sbi_console.c include: sbi_console: Remove scratch parameter from sbi_dprintf() 2020-03-28 13:32:58 +05:30
sbi_domain.c lib: sbi: Add sbi_domain_root_add_memregion() API 2021-04-13 10:56:37 +05:30
sbi_ecall.c lib: sbi: Replace args with trap registers in ecall handler 2021-01-07 09:53:14 +05:30
sbi_ecall_base.c lib: sbi: Replace args with trap registers in ecall handler 2021-01-07 09:53:14 +05:30
sbi_ecall_hsm.c lib: sbi: Implement SBI HSM suspend function 2021-03-03 13:51:15 +05:30
sbi_ecall_legacy.c lib: sbi: Rename sbi_hsm_hart_started_mask() function 2021-03-03 10:17:45 +05:30
sbi_ecall_replace.c lib: sbi: Allow custom local TLB flush function 2021-01-07 09:53:19 +05:30
sbi_ecall_vendor.c lib: sbi: Replace args with trap registers in ecall handler 2021-01-07 09:53:14 +05:30
sbi_emulate_csr.c lib: sbi: illegal CSR 0x306 access in hpm_allowed() 2021-03-22 09:18:56 +05:30
sbi_expected_trap.S lib: Rename unprivileged trap handler 2020-05-10 09:59:16 +05:30
sbi_fifo.c include: sbi: Allow direct initialization via SPIN_LOCK_INIT() 2021-04-09 18:39:50 +05:30
sbi_hart.c lib: fix csr detect support 2021-04-05 13:43:08 +05:30
sbi_hfence.S lib: Fix __sbi_hfence_gvma_vmid_gpa() and __sbi_hfence_vvma_asid_va() 2020-06-15 09:24:27 +05:30
sbi_hsm.c lib: Remove redundant sbi_platform_ipi_clear() calls 2021-03-03 13:54:50 +05:30
sbi_illegal_insn.c lib: sbi: Handle the case where MTVAL has illegal instruction address 2020-08-21 19:35:31 +05:30
sbi_init.c lib: Remove redundant sbi_platform_ipi_clear() calls 2021-03-03 13:54:50 +05:30
sbi_ipi.c lib: Remove redundant sbi_platform_ipi_clear() calls 2021-03-03 13:54:50 +05:30
sbi_math.c lib: Create a separate math helper function file 2020-05-10 09:59:24 +05:30
sbi_misaligned_ldst.c lib: sbi: Fix sign-extension in sbi_misaligned_load_handler() 2020-12-24 16:35:28 +05:30
sbi_platform.c lib: sbi: Improve get_feature_str() implementation and usage 2020-05-19 09:19:34 +05:30
sbi_scratch.c lib: sbi_scratch: Introduce sbi_scratch_last_hartid() API 2020-03-28 13:32:41 +05:30
sbi_string.c lib: Add sbi_strncmp implementation 2020-07-29 12:03:45 +05:30
sbi_system.c lib: sbi: Rename sbi_hsm_hart_started_mask() function 2021-03-03 10:17:45 +05:30
sbi_timer.c include: sbi: Use scratch pointer as parmeter in HART feature APIs 2020-05-19 09:19:42 +05:30
sbi_tlb.c lib: sbi: Allow custom local TLB flush function 2021-01-07 09:53:19 +05:30
sbi_trap.c firware: optimize the exception exit code 2021-04-01 10:48:35 +05:30
sbi_unpriv.c lib: Optimize inline assembly for unprivilege access functions 2020-05-16 17:52:42 +05:30