Files
opensbi/include/sbi
Anup Patel 7ccf6bf54c lib: sbi: Allow specifying mode in sbi_hart_pmp_check_addr() API
We extend sbi_hart_pmp_check_addr() API so that users can specify
privilege mode of the address for checking PMP access permissions.

To achieve this, we end-up converting "unsigned long *size" parameter
to "unsigned long *log2len" for pmp_get() implementation so that we
can deal with regions of "1UL << __riscv_xlen" size in a special case
in sbi_hart_pmp_check_addr() implementation.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
2020-09-16 09:05:25 +05:30
..
2020-03-11 15:29:45 +05:30
2020-03-10 10:27:28 +05:30
2020-05-10 09:59:20 +05:30
2020-01-07 12:11:48 +05:30
2020-05-01 09:57:24 +05:30
2020-06-20 11:57:24 +05:30