Skip to content

Commit

Permalink
add description of exceptions to CSRs
Browse files Browse the repository at this point in the history
  • Loading branch information
ved-rivos committed Dec 5, 2023
1 parent c9fb5c4 commit 89f82af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cfi_backward.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ less than M:
* 16-bit Zicfiss instructions will revert to their behavior as defined by Zcmop.
* The `pte.xwr=010b` encoding in VS/S-stage page tables becomes reserved.
* The `henvcfg.SSE` and `senvcfg.SSE` fields will read as zero and are read-only.
* `SSAMOSWAP.W/D` raises an illegal-instruction exception.

==== Supervisor Environment Configuration Register (`senvcfg`)

Expand All @@ -188,6 +189,8 @@ the following rules apply:

* 32-bit Zicfiss instructions will revert to their behavior as defined by Zimop.
* 16-bit Zicfiss instructions will revert to their behavior as defined by Zcmop.
* When `menvcfg.SSE` is one, `SSAMOSWAP.W/D` raises an illegal-instruction
exception in U-mode and a virtual instruction exception in VU-mode.

<<<

Expand Down Expand Up @@ -219,6 +222,8 @@ the following rules apply when `V=1`:
* 16-bit Zicfiss instructions will revert to their behavior as defined by Zcmop.
* The `pte.xwr=010b` encoding in VS-stage page tables becomes reserved.
* The `senvcfg.SSE` field will read as zero and is read-only.
* When `menvcfg.SSE` is one, `SSAMOSWAP.W/D` raises a virtual instruction
exception.

==== Shadow Stack Pointer (`ssp`)

Expand Down

0 comments on commit 89f82af

Please sign in to comment.