You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/debug-integration.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -181,7 +181,7 @@ If {cheri_default_ext_name} is implemented:
181
181
182
182
* The <<m_bit>> is reset to {cheri_int_mode_name} ({INT_MODE_VALUE}).
183
183
* The debugger can set the <<m_bit>> to {cheri_cap_mode_name} ({CAP_MODE_VALUE}) by executing <<MODESW_CAP>> from the program buffer.
184
-
** Executing <<MODESW_CAP>> causes subsequent instruction execution from the program buffer, starting from the next instruction, to be executed in {cheri_cap_mode_name}. It also sets the CHERI execution mode to {cheri_cap_mode_name} on future entry into debug mode.
184
+
** Executing <<MODESW_CAP>> causes subsequent instructions execution from the program buffer, starting from the next instruction, to be executed in {cheri_cap_mode_name}. It also sets the CHERI execution mode to {cheri_cap_mode_name} on future entry into debug mode.
185
185
** Therefore to enable use of a CHERI debugger, a single <<MODESW_CAP>> only needs to be executed once from the program buffer after resetting the core.
186
186
** The debugger can also execute <<MODESW_INT>> to change the mode back to {cheri_int_mode_name}, which also affects the execution of the next instruction in the program buffer, updates the <<m_bit>> of <<dinfc>> and controls which CHERI execution mode to enter on the next entry into debug mode.
Copy file name to clipboardexpand all lines: src/insns/acperm_32bit.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ The MXLEN=32 additional rules are:
68
68
[#acperm_bit_field]
69
69
include::../img/acperm_bit_field.edn[]
70
70
71
-
NOTE: The <<el_perm,EL>>, <<sl_perm,SL>> and <<section_cap_level,CL>> fields are only defined if the implementation supports <<section_ext_cheri_levels,{cheri_levels_ext_name}>>.
71
+
NOTE: The <<el_perm,EL>>, <<sl_perm,SL>> and <<section_cap_level,CL>> fields are only defined if the implementation supports <<cheri_levels_ext,{cheri_levels_ext_name}>>.
72
72
73
73
NOTE: Even though being included here <<section_cap_level,CL>> is not considered an architectural permission.
Copy file name to clipboardexpand all lines: src/introduction.adoc
+15-15
Original file line number
Diff line number
Diff line change
@@ -81,20 +81,20 @@ This specification is based on publicly available documentation including
81
81
cite:[cheri-v9-spec] and cite:[woodruff2019cheri]. It defines the following
82
82
extensions to support CHERI alongside RISC-V:
83
83
84
-
{cheri_base_ext_name}:: Introduces key, minimal CHERI concepts and features to
84
+
<<cheri_base_ext,{cheri_base_ext_name}>>:: Introduces key, minimal CHERI concepts and features to
85
85
the RISC-V ISA. The resulting extended ISA is not
86
86
backwards-compatible with RISC-V.
87
-
{cheri_default_ext_name}:: Extends {cheri_base_ext_name} with features to ensure
87
+
<<cheri_default_ext,{cheri_default_ext_name}>>:: Extends {cheri_base_ext_name} with features to ensure
88
88
that the ISA extended with CHERI allows backwards binary compatibility with
89
89
RISC-V.
90
-
{sh4add_ext_name}:: Addition of <<SH4ADD>> and <<SH4ADD_UW>> for RV64 only, as CHERI capabilities are 16 bytes when XLEN=64
91
-
{lr_sc_bh_ext_name}:: Addition of <<LR_B>>, <<LR_H>>, <<SC_B>>, <<SC_H>> for more accurate atomic locking as the memory ranges are restricted by using bounds, therefore precise locking is needed.
92
-
{cheri_pte_ext_name}:: CHERI extension for RISC-V harts supporting page-based
90
+
<<sh4add_ext,{sh4add_ext_name}>>:: Addition of <<SH4ADD>> and <<SH4ADD_UW>> for RV64 only, as CHERI capabilities are 16 bytes when XLEN=64
91
+
<<lr_sc_bh_ext,{lr_sc_bh_ext_name}>>:: Addition of <<LR_B>>, <<LR_H>>, <<SC_B>>, <<SC_H>> for more accurate atomic locking as the memory ranges are restricted by using bounds, therefore precise locking is needed.
92
+
<<cheri_pte_ext,{cheri_pte_ext_name}>>:: CHERI extension for RISC-V harts supporting page-based
93
93
virtual-memory.
94
-
{cheri_levels_ext_name}:: Extension for supporting capability flow control.
95
-
This extension allows limiting storing of capabilities to specific regions and can be used e.g. for safer data sharing between compartments.
96
-
{tid_ext_name}:: Extension for supporting thread identifiers. This extension
94
+
<<tid_ext,{tid_ext_name}>>:: Extension for supporting thread identifiers. This extension
97
95
improves software compartmentalization on CHERI systems.
96
+
<<cheri_levels_ext,{cheri_levels_ext_name}>>:: Extension for supporting capability flow control.
97
+
This extension allows limiting storing of capabilities to specific regions and can be used e.g. for safer data sharing between compartments.
98
98
99
99
CAUTION: The extension names are provisional and subject to change.
100
100
@@ -103,13 +103,13 @@ CAUTION: The extension names are provisional and subject to change.
|{cheri_base_ext_name} | Stable | This extension is a candidate for freezing
107
-
|{cheri_default_ext_name} | Stable | This extension is a candidate for freezing
108
-
|{sh4add_ext_name} | Stable | This extension is a candidate for freezing
109
-
|{lr_sc_bh_ext_name} | Stable | This extension is a candidate for freezing
110
-
|{cheri_pte_ext_name} | Prototype | This extension is a prototype, software is being developed to use it to increase the maturity level
111
-
|{tid_ext_name} | Prototype | This extension is a prototype, software is being developed to use it to increase the maturity level
112
-
|{cheri_levels_ext_name} | Prototype | This extension is a prototype, software is being developed to use it to increase the maturity level
106
+
|<<cheri_base_ext, {cheri_base_ext_name}>> | Stable | This extension is a candidate for freezing
107
+
|<<cheri_default_ext,{cheri_default_ext_name}>> | Stable | This extension is a candidate for freezing
108
+
|<<sh4add_ext, {sh4add_ext_name}>> | Stable | This extension is a candidate for freezing
109
+
|<<lr_sc_bh_ext, {lr_sc_bh_ext_name}>> | Stable | This extension is a candidate for freezing
110
+
|<<cheri_pte_ext, {cheri_pte_ext_name}>> | Prototype | This extension is a prototype, software is being developed to use it to increase the maturity level
111
+
|<<tid_ext, {tid_ext_name}>> | Prototype | This extension is a prototype, software is being developed to use it to increase the maturity level
112
+
|<<cheri_levels_ext, {cheri_levels_ext_name}>> | Prototype | This extension is a prototype, software is being developed to use it to increase the maturity level
Copy file name to clipboardexpand all lines: src/level-ext.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
[#section_ext_cheri_levels]
1
+
[#cheri_levels_ext]
2
2
== "{cheri_levels_ext_name}" Extension for Capability Levels
3
3
4
4
{cheri_levels_ext_name} is an extension to {cheri_base_ext_name} that adds support for associating a level with capabilities and limiting the flow of capabilities to specific memory region subsets.
0 commit comments