Home
last modified time | relevance | path

Searched refs:PMP_LOCK (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dpmp.c53 if (env->pmp_state.pmp[pmp_index].cfg_reg & PMP_LOCK) { in pmp_is_locked()
109 if ((val & PMP_LOCK) != 0 && (val & PMP_EXEC) != PMP_EXEC) { in pmp_write_cfg()
113 if ((val & PMP_LOCK) != PMP_LOCK && in pmp_write_cfg()
150 env->pmp_state.pmp[i].cfg_reg &= ~(PMP_LOCK | PMP_AMATCH); in pmp_unlock_entries()
360 ((env->pmp_state.pmp[i].cfg_reg & PMP_LOCK) >> 4) | in pmp_hart_has_privs()
527 if (pmp_cfg & PMP_LOCK && is_next_cfg_tor) { in pmpaddr_csr_write()
H A Dpmp.h32 PMP_LOCK = 1 << 7 enumerator