Home
last modified time | relevance | path

Searched refs:MSTATUS_MPRV (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/cache/
Dcache_andes.c92 if ((status & MSTATUS_MPRV) && !(status & MSTATUS_MPP)) { in nds_cctl_range_operations()
119 if ((status & MSTATUS_MPRV) && !(status & MSTATUS_MPP)) { in nds_l1i_cache_all()
147 if ((status & MSTATUS_MPRV) && !(status & MSTATUS_MPP)) { in nds_l1d_cache_all()
238 if ((status & MSTATUS_MPRV) && !(status & MSTATUS_MPP)) { in cache_data_disable()
Dcache_andes_l2.h95 if ((status & MSTATUS_MPRV) && !(status & MSTATUS_MPP)) { in nds_l2_cache_all()
/Zephyr-latest/arch/riscv/core/
Dpmp.c396 csr_set(mstatus, MSTATUS_MPRV); in z_riscv_pmp_init()
515 csr_clear(mstatus, MSTATUS_MPRV | MSTATUS_MPP); in z_riscv_pmp_stackguard_enable()
527 csr_set(mstatus, MSTATUS_MPRV); in z_riscv_pmp_stackguard_enable()
546 csr_clear(mstatus, MSTATUS_MPRV); in z_riscv_pmp_stackguard_disable()
668 csr_clear(mstatus, MSTATUS_MPRV); in z_riscv_pmp_usermode_enable()
Dthread.c96 stack_init->mstatus |= MSTATUS_MPRV; in arch_new_thread()
Disr.S406 li t1, MSTATUS_MPRV
600 li t1, MSTATUS_MPRV
/Zephyr-latest/include/zephyr/arch/riscv/
Dcsr.h25 #define MSTATUS_MPRV 0x00020000 macro