remove mcounteren in M-mode only wrapper
This commit is contained in:
parent
6ea7721961
commit
0aea1d0177
|
@ -415,8 +415,6 @@ riscv_hart_m_p<BASE, FEAT>::riscv_hart_m_p()
|
||||||
csr_rd_cb[mie] = &this_class::read_ie;
|
csr_rd_cb[mie] = &this_class::read_ie;
|
||||||
csr_wr_cb[mie] = &this_class::write_ie;
|
csr_wr_cb[mie] = &this_class::write_ie;
|
||||||
csr_rd_cb[mhartid] = &this_class::read_hartid;
|
csr_rd_cb[mhartid] = &this_class::read_hartid;
|
||||||
csr_rd_cb[mcounteren] = &this_class::read_null;
|
|
||||||
csr_wr_cb[mcounteren] = &this_class::write_null;
|
|
||||||
csr_wr_cb[misa] = &this_class::write_null;
|
csr_wr_cb[misa] = &this_class::write_null;
|
||||||
csr_wr_cb[mvendorid] = &this_class::write_null;
|
csr_wr_cb[mvendorid] = &this_class::write_null;
|
||||||
csr_wr_cb[marchid] = &this_class::write_null;
|
csr_wr_cb[marchid] = &this_class::write_null;
|
||||||
|
|
Loading…
Reference in New Issue