Home
last modified time | relevance | path

Searched refs:PMP_R (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/arch/riscv/
Darch.h201 {PMP_R | PMP_W})
203 {PMP_R})
207 {PMP_R})
215 {PMP_R | PMP_W | PMP_X})
217 {PMP_R | PMP_X})
Dcsr.h136 #define PMP_R 0x01 macro
/Zephyr-Core-3.7.0/arch/riscv/core/
Dpmp.c99 (pmp_n_cfg[index] & PMP_R) ? 'R' : '-', in print_pmp_entries()
216 bool ok = set_pmp_entry(index_p, PMP_R | PMP_W | PMP_X, in set_pmp_mprv_catchall()
356 set_pmp_entry(&index, PMP_R | PMP_X | PMP_L, in z_riscv_pmp_init()
572 set_pmp_entry(&index, PMP_R | PMP_W, in z_riscv_pmp_usermode_prepare()
774 if ((part->attr.pmp_attr & (write ? PMP_W : PMP_R)) != 0) { in arch_buffer_validate()
/Zephyr-Core-3.7.0/tests/kernel/mem_protect/userspace/src/
Dmain.c263 csr_write(pmpcfg0, (PMP_R|PMP_W|PMP_X|PMP_NAPOT) << 24); in ZTEST_USER()