Skip to content

Commit

Permalink
correct SL -> CL
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqkurd-repo committed Oct 29, 2024
1 parent 7c3e72a commit 6cf17b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/insns/acperm_32bit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ format shown in xref:acperm_bit_field[xrefstyle=short].
. Calculate the bitwise AND of the bit field with the mask `rs2`.
. If the AP and <<m_bit>> field in `cs1` could not have been produced by <<ACPERM>> then
clear all AP permissions, and the <<m_bit>> to {CAP_MODE_VALUE}. Skip the next step.
.. If <<cheri_levels_ext,{cheri_levels_ext_name}>> is implemented then also set <<sl_perm>> to 0 (_local_).
.. If <<cheri_levels_ext,{cheri_levels_ext_name}>> is implemented then also set <<section_cap_level,CL>> to 0 (_local_).
. Clear AP permissions as required to meet the rules below.
. Encode the AP permissions for RV32 according to <<cap_perms_encoding32>>.
. Copy `cs1` to `cd`, and update the AP and SDP fields with the newly calculated versions.
Expand Down

0 comments on commit 6cf17b2

Please sign in to comment.