Skip to content

Commit

Permalink
Merge pull request riscv#5 from a4lg/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
ved-rivos authored Nov 21, 2022
2 parents 44d40b6 + 2a292ba commit c6c9880
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cfi_backward.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ using the `mop.r` and `mop.rr` instructions defined by the Zimops extension.
| `(mop.r)` |`31` | `20` |`19` | `15`|`14` | `12` |`11` | `7`|`6` | `0`
| mnemonic 2+^|`1.00..0111..` 2+^|`rs1` 2+^|`func3` 2+^|`rd` 2+^|`opcode`
|`sspush` 2+^|`100000011100` 2+^|`src` 2+^|`100` 2+^|`0` 2+^|`1110011`
|`ssppop` 2+^|`100000011100` 2+^|`0` 2+^|`100` 2+^|`dst` 2+^|`1110011`
|`sspop` 2+^|`100000011100` 2+^|`0` 2+^|`100` 2+^|`dst` 2+^|`1110011`
|`ssprr` 2+^|`100000011101` 2+^|`0` 2+^|`100` 2+^|`dst` 2+^|`1110011`
| 2+^|`12` 2+^|`5` 2+^|`3` 2+^|`5` 2+^|`7`
|===
Expand Down
4 changes: 2 additions & 2 deletions cfi_csrs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This chapter specifies the CSR state of the Zisslpcfi extension.
The `CFI` (bit 60) bit controls if Zisslpcfi extension is available for use in
modes less privileged than M.

When `menvcfgCFI` bit is 0, then at privilege modes less privileged than M:
When `menvcfg.CFI` bit is 0, then at privilege modes less privileged than M:

* Attempts to access `ssp` CSR and `lplr` CSR raise an illegal instruction
exception.
Expand Down Expand Up @@ -102,7 +102,7 @@ instruction exception.

=== Shadow stack pointer (`ssp`)

The `ssp` CSR is an unprivileged read-only (URW) CSR that reads and writes `XLEN`
The `ssp` CSR is an unprivileged read-write (URW) CSR that reads and writes `XLEN`
low order bits of the shadow stack pointer (`ssp`). There is no high CSR defined
as the `ssp` is always as wide as the `XLEN` of the current privilege level.

Expand Down

0 comments on commit c6c9880

Please sign in to comment.