Module riscv::register::pmpcfg0

source ·
Expand description

Physical memory protection configuration pmpcfg0 struct contains pmp0cfg - pmp3cfg for RV32, and pmp0cfg - pmp7cfg for RV64

Functions§

  • Clear the pmp configuration corresponding to the index
  • Reads the CSR
  • Set the pmp configuration corresponding to the index
  • Writes the CSR