aboutsummaryrefslogtreecommitdiff
path: root/fesvr
diff options
context:
space:
mode:
Diffstat (limited to 'fesvr')
-rw-r--r--fesvr/dtm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fesvr/dtm.cc b/fesvr/dtm.cc
index 5409321..46032c3 100644
--- a/fesvr/dtm.cc
+++ b/fesvr/dtm.cc
@@ -137,7 +137,7 @@ void dtm_t::resume(int hartsel)
current_hart = hartsel;
if (running) {
- write(DMI_DMCONTROL, 0);
+ write(DMI_DMCONTROL, DMI_DMCONTROL_DMACTIVE);
// Read dmstatus to avoid back-to-back writes to dmcontrol.
read(DMI_DMSTATUS);
}