Skip to content

Commit

Permalink
Tiny fixes 2 (#131)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan O'Rear <[email protected]>
  • Loading branch information
sorear authored Feb 26, 2024
1 parent 9dd9261 commit e18679b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/img/menvcfgreg.edn
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
(draw-box "55" {:span 16 :borders {}})
(draw-box "1" {:span 2 :borders {}})
(draw-box "1" {:span 2 :borders {}})
(draw-box "1" {:span 2 :borders {}})
(draw-box "2" {:span 2 :borders {}})
(draw-box "3" {:span 2 :borders {}})
(draw-box "1" {:span 2 :borders {}})
Expand Down
5 changes: 3 additions & 2 deletions src/riscv-legacy-integration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,9 @@ The CME bits in <<mseccfg>>, <<menvcfg>>, and <<senvcfg>> have no effect whilst
CHERI register access is disabled.

CHERI register access is disabled if XLEN in the current mode is less than
XLENMAX or if CRE active at the current mode (<<menvcfg>>.CRE for S-mode or
<<senvcfg>>.CRE for U-mode) is 0.
XLENMAX, if the endianness in the current mode is not the reset value of
<<mstatus>>.MBE, or if CRE active at the current mode (<<menvcfg>>.CRE for
S-mode or <<senvcfg>>.CRE for U-mode) is 0.

Disabling CHERI register access has no effect on implicit accesses or security
checks. The last capability installed in <<pcc>> and <<ddc>> before disabling
Expand Down

0 comments on commit e18679b

Please sign in to comment.