From c2758e832187c79f93a72cc403eb54c5648003bf Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Wed, 15 Mar 2023 09:07:00 +0100 Subject: [PATCH] removes mscratchcsw from CLIC feature --- src/iss/arch/riscv_hart_m_p.h | 8 ++++---- src/iss/arch/riscv_hart_mu_p.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/iss/arch/riscv_hart_m_p.h b/src/iss/arch/riscv_hart_m_p.h index c0d5805..0652bd6 100644 --- a/src/iss/arch/riscv_hart_m_p.h +++ b/src/iss/arch/riscv_hart_m_p.h @@ -419,10 +419,10 @@ riscv_hart_m_p::riscv_hart_m_p(feature_config cfg) csr_wr_cb[mxnti] = &this_class::write_csr_reg; csr_rd_cb[mintstatus] = &this_class::read_csr_reg; csr_wr_cb[mintstatus] = &this_class::write_null; - csr_rd_cb[mscratchcsw] = &this_class::read_csr_reg; - csr_wr_cb[mscratchcsw] = &this_class::write_csr_reg; - csr_rd_cb[mscratchcswl] = &this_class::read_csr_reg; - csr_wr_cb[mscratchcswl] = &this_class::write_csr_reg; +// csr_rd_cb[mscratchcsw] = &this_class::read_csr_reg; +// csr_wr_cb[mscratchcsw] = &this_class::write_csr_reg; +// csr_rd_cb[mscratchcswl] = &this_class::read_csr_reg; +// csr_wr_cb[mscratchcswl] = &this_class::write_csr_reg; csr_rd_cb[mintthresh] = &this_class::read_csr_reg; csr_wr_cb[mintthresh] = &this_class::write_intthresh; diff --git a/src/iss/arch/riscv_hart_mu_p.h b/src/iss/arch/riscv_hart_mu_p.h index d4032c3..1ca4f96 100644 --- a/src/iss/arch/riscv_hart_mu_p.h +++ b/src/iss/arch/riscv_hart_mu_p.h @@ -466,10 +466,10 @@ riscv_hart_mu_p::riscv_hart_mu_p(feature_config cfg) csr_wr_cb[mxnti] = &this_class::write_csr_reg; csr_rd_cb[mintstatus] = &this_class::read_csr_reg; csr_wr_cb[mintstatus] = &this_class::write_null; - csr_rd_cb[mscratchcsw] = &this_class::read_csr_reg; - csr_wr_cb[mscratchcsw] = &this_class::write_csr_reg; - csr_rd_cb[mscratchcswl] = &this_class::read_csr_reg; - csr_wr_cb[mscratchcswl] = &this_class::write_csr_reg; +// csr_rd_cb[mscratchcsw] = &this_class::read_csr_reg; +// csr_wr_cb[mscratchcsw] = &this_class::write_csr_reg; +// csr_rd_cb[mscratchcswl] = &this_class::read_csr_reg; +// csr_wr_cb[mscratchcswl] = &this_class::write_csr_reg; csr_rd_cb[mintthresh] = &this_class::read_csr_reg; csr_wr_cb[mintthresh] = &this_class::write_intthresh;