File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,9 @@ functions. Please consult your compiler's manual for more information.
185
185
The interrupt attribute specifies that a function is an interrupt handler.
186
186
The compiler will save/restore all used registers in the prologue/epilogue
187
187
regardless of the ABI, all used registers including floating point
188
- register/vector register if ` F ` extension/vector extension is enabled.
188
+ register/vector register if ` F ` extension/vector extension is enabled. If F or
189
+ V CSRs may be modified by an interrupt function, they must be saved by the
190
+ compiler.
189
191
190
192
The interrupt attribute can have an optional parameter to specify the mode.
191
193
The possible values are ` user ` , ` supervisor ` , or ` machine ` .
You can’t perform that action at this time.
0 commit comments