Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dcsr.c2178 uint32_t present_ctrs = cpu->pmu_avail_ctrs | COUNTEREN_CY | COUNTEREN_IR; in write_mcountinhibit() local
2179 target_ulong updated_ctrs = (env->mcountinhibit ^ val) & present_ctrs; in write_mcountinhibit()
2183 env->mcountinhibit = val & present_ctrs; in write_mcountinhibit()