Tim Newsome
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
riscv/debug_module.cc
|
|
@ -920,7 +920,9 @@ bool debug_module_t::dmi_write(unsigned address, uint32_t value) |
|
|
} |
|
|
} |
|
|
return true; |
|
|
return true; |
|
|
case DM_DMCS2: |
|
|
case DM_DMCS2: |
|
|
if (config.support_haltgroups && get_field(value, DM_DMCS2_HGWRITE)) { |
|
|
if (config.support_haltgroups && |
|
|
|
|
|
get_field(value, DM_DMCS2_HGWRITE) && |
|
|
|
|
|
get_field(value, DM_DMCS2_GROUPTYPE) == 0) { |
|
|
hart_state[dmcontrol.hartsel].haltgroup = get_field(value, |
|
|
hart_state[dmcontrol.hartsel].haltgroup = get_field(value, |
|
|
DM_DMCS2_GROUP); |
|
|
DM_DMCS2_GROUP); |
|
|
} |
|
|
} |
|
|
|