Skip to content

Commit

Permalink
Update src/riscv-integration.adoc
Browse files Browse the repository at this point in the history
Co-authored-by: Nathaniel Wesley Filardo <[email protected]>
Signed-off-by: Tariq Kurd <[email protected]>
  • Loading branch information
tariqkurd-repo and nwf authored Dec 6, 2024
1 parent 8924587 commit 98a11f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/riscv-integration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1198,9 +1198,9 @@ Some situations may appear to require that the CSR come to hold a capability wit
* hardware updates to CSRs such as storing the <<pcc>> (which becomes capability A) into
<<mepcc>>/<<sepcc>> etc. when taking an exception.

The procedure is:
In order to satisfy the definitions of such CSRs and preserve capability system invariants, the following procedure must be used as part of write-back to the CSR:

. If A's address is invalid, A does not have infinite bounds (see
. If A's address is invalid and A does not have infinite bounds (see
xref:section_cap_encoding[xrefstyle=short]), then A's tag is set to 0.
. Write the final (potentially modified) version of capability A to the CSR e.g.
<<mtvecc>>, <<mepcc>>, etc.
Expand Down

0 comments on commit 98a11f5

Please sign in to comment.