riscv-debug-spec icon indicating copy to clipboard operation
riscv-debug-spec copied to clipboard

should be possible to clear resumeack

Open timsifive opened this issue 3 years ago • 0 comments

From today's meeting:

  • Scenario:
    • Halted
    • Hart resumes due to external trigger
    • Hart hits breakpoint
    • Debugger doesn’t know the hart resumed (so register caches need to be flushed)
  • Possible solution
    • Optional, backwards compatible, imperfect
      • Resumeack is automatically set when resuming for any reason
      • Add new bit in dmcs2 that lets debugger clear resumeack while halted
    • Halt acknowledge handshake, backwards incompatible, handles all races
      • For v1.1

timsifive avatar Jun 11 '21 20:06 timsifive