From d3d3681f3468c633bc93a727a35bc07348245440 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Mon, 29 Jan 2018 11:52:31 -0800 Subject: Update debug_defines --- riscv/debug_module.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'riscv/debug_module.cc') diff --git a/riscv/debug_module.cc b/riscv/debug_module.cc index 2bc480a..1d18478 100644 --- a/riscv/debug_module.cc +++ b/riscv/debug_module.cc @@ -347,7 +347,8 @@ bool debug_module_t::dmi_read(unsigned address, uint32_t *value) result = set_field(result, DMI_DMCONTROL_HALTREQ, dmcontrol.haltreq); result = set_field(result, DMI_DMCONTROL_RESUMEREQ, dmcontrol.resumereq); - result = set_field(result, DMI_DMCONTROL_HARTSEL, dmcontrol.hartsel); + result = set_field(result, ((1L<