Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dpmp.c46 static inline int pmp_is_locked(CPURISCVState *env, uint32_t pmp_index) in pmp_is_locked() function
102 if (!MSECCFG_MML_ISSET(env) && !pmp_is_locked(env, pmp_index)) { in pmp_write_cfg()
119 if (!pmp_is_locked(env, pmp_index)) { in pmp_write_cfg()
376 if ((mode != PRV_M) || pmp_is_locked(env, i)) { in pmp_hart_has_privs()
534 if (!pmp_is_locked(env, addr_index)) { in pmpaddr_csr_write()
584 if (pmp_is_locked(env, i)) { in mseccfg_csr_write()