Skip to content

Commit

Permalink
clarify ACPERM rules (#421)
Browse files Browse the repository at this point in the history
fix #415
  • Loading branch information
tariqkurd-repo authored Oct 16, 2024
1 parent d6cc5d1 commit 795e492
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/insns/acperm_32bit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ The MXLEN=32 additional rules are:
. Clear <<asr_perm>> unless _all_ other permissions are set
. Clear <<c_perm>> and <<x_perm>> if <<r_perm>> is not set
. Clear <<w_perm>> if <<c_perm>> _is_ set, but <<lm_perm>> _is not_ set.
. Clear <<x_perm>> if <<x_perm>> and <<r_perm>> _are_ set, but <<c_perm>> and <<w_perm>> _are not_ set.
. Clear <<x_perm>> if <<x_perm>> and <<r_perm>> are set, and <<c_perm>> and <<w_perm>> are both clear.
. If removing <<lm_perm>> results in unrepresentable permissions, then set <<r_perm>> and <<c_perm>> only.

.Capability permissions bit field
[#acperm_bit_field]
Expand Down

0 comments on commit 795e492

Please sign in to comment.