Skip to content

Commit

Permalink
clarify that tag clearing is only needed if the address actually changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqkurd-repo committed Nov 29, 2024
1 parent b1a705d commit 5738200
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/riscv-integration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1199,8 +1199,9 @@ hold all invalid addresses, under the following circumstances:

The procedure is:

. 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.
. If A's address is invalid, A does not have infinite bounds (see
xref:section_cap_encoding[xrefstyle=short]), and A's address has been modified due
to illegal address conversion, 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 5738200

Please sign in to comment.