Re: OS-A platform stoptime requirement
toggle quoted message Show quoted text
Thanks, I definitely misunderstood the intent. So the expectation is that, in Debug Mode, reads to mtime will see time continue to progress, but reads to the time CSR will see a frozen value. Reads of the time CSR by software running outside debug mode should not be impacted, and will see a value synchronized with mtime.
I suppose I can imagine usages where keeping the time CSR frozen has value to a debugger, but it does add complexity and latency in requiring a resync with mtime on debug mode exit. Does the value really rise to the level of being a platform requirement? Is there some important debug functionality that breaks if we keep it simple and let the time CSR keep running in debug mode?
On Mon, Dec 20, 2021 at 2:05 PM Andrew Waterman <andrew@...> wrote: