Skip to content

Commit

Permalink
Merge pull request #1 from cmuellner/formatting
Browse files Browse the repository at this point in the history
Fix formatting issues
  • Loading branch information
ptomsich authored Jan 22, 2024
2 parents 93125dc + 26beb54 commit fd28c57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
7 changes: 2 additions & 5 deletions header.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ Copyright 2023 by RISC-V International.
include::contributors.adoc[]

include::changes.adoc[]

include::intro.adoc[]
include::ssdtso.adoc[]
// include::chapter2.adoc[]

// The index must precede the bibliography
// include::index.adoc[]
// include::bibliography.adoc[]
include::ssdtso.adoc[]
10 changes: 6 additions & 4 deletions ssdtso.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ The intended use-cases for Ssdtso are
For its intended use case (i.e., to provide an provide an on-demand RVTSO execution capability for processors otherwise operating in RVWMO), Ssdtso will be used on cores that do not implement Ztso.

However, the Ssdto extension does not conflict with Ztso (i.e., a core that operates in RVTSO mode at all times) and can be implemented on such a core for compatibility:
* the RVTSO mode is always-on on Ztso implementations, and
* the DTSO bit in `menvcfg`, `senvcfg` and `henvcfg` will accurately reflect whether the core currently operates in RVTSO mode.

* the RVTSO mode is always-on on Ztso implementations, and
* the DTSO bit in `menvcfg`, `senvcfg` and `henvcfg` will accurately reflect whether the core currently operates in RVTSO mode.

[NOTE]
====
Expand All @@ -37,8 +38,9 @@ To allow the free composition of extensions for unforeseen use-cases, no formal

The dynamic-RVTSO behaviour is controlled by bit 8 (`DTSO`) of `menvcfg`, `senvcfg`, and `henvcfg` for all lower privilege levels.
Implementations providing Ssdtso initialize the `DTSO`-bit according to their default memory mode:
* implementations that implement only Ssdtso, and not Ztso, default to use RVWMO semantics natively: the bits controlling dynamic-RVTSO behaviour are initialized to 0 on reset
* implementations that implement both Ssdtso and Ztso, default to use RVTSO semantics natively: the bits controlling dynamic-RVTSO behaviour are initialized to 1 on reset

* implementations that implement only Ssdtso, and not Ztso, default to use RVWMO semantics natively: the bits controlling dynamic-RVTSO behaviour are initialized to 0 on reset
* implementations that implement both Ssdtso and Ztso, default to use RVTSO semantics natively: the bits controlling dynamic-RVTSO behaviour are initialized to 1 on reset

If the DTSO control bit in the respective envcfg is set, all lower-privilege modes will operate in dynamic-RVTSO mode:
[cols="^3,^2,^1,^1,^1,^1,^1",stripes=even,options="header"]
Expand Down

0 comments on commit fd28c57

Please sign in to comment.