Unverified Commit fce4da54 authored by Tim Newsome's avatar Tim Newsome Committed by GitHub
Browse files

Make haltreq and resumereq proper write-only. (#383)

* Make haltreq and resumereq proper write-only.

They already mostly were, but then I clarified some stuff and broke
keeping haltreq high during reset, which is the only mechanism to catch
a hart out of reset if optional reselthaltreq isn't implemented.

Also:
* resume ack is cleared by the DM when resumereq is written 1.
* haltreq can be high together with hartreset.

This is the minimal version of #378. It has all the same functionality,
but lacks some of #378's clarifications, which may be making this harder
to review.

* Leave haltreq high to catch a hart out of all resets.

Not just unexpected ones.

* Rephrase halt resume explanation.

* DM contains->tracks bits of state.
parent e5da11ed
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment