diff options
author | Scott Johnson <scott.johnson@arilinc.com> | 2021-09-22 18:40:04 -0700 |
---|---|---|
committer | Scott Johnson <scott.johnson@arilinc.com> | 2021-09-26 17:17:53 -0700 |
commit | 1fe77945de9bacaf1e10f05b1dad4d115c552216 (patch) | |
tree | 52c911002f7371a5569385eb6d2e39387050eb34 /riscv/execute.cc | |
parent | bfcf4707b301230542816fd7bd71f89d57d3ef16 (diff) | |
download | spike-1fe77945de9bacaf1e10f05b1dad4d115c552216.zip spike-1fe77945de9bacaf1e10f05b1dad4d115c552216.tar.gz spike-1fe77945de9bacaf1e10f05b1dad4d115c552216.tar.bz2 |
Convert dcsr to csr_t
Diffstat (limited to 'riscv/execute.cc')
-rw-r--r-- | riscv/execute.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/execute.cc b/riscv/execute.cc index ed64277..95471a9 100644 --- a/riscv/execute.cc +++ b/riscv/execute.cc @@ -227,7 +227,7 @@ void processor_t::step(size_t n) } else if (halt_request == HR_GROUP) { enter_debug_mode(DCSR_CAUSE_GROUP); } // !!!The halt bit in DCSR is deprecated. - else if (state.dcsr.halt) { + else if (state.dcsr->halt) { enter_debug_mode(DCSR_CAUSE_HALT); } } |