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 @@ -180,7 +180,9 @@ functions. Please consult your compiler's manual for more information.
180
180
The interrupt attribute specifies that a function is an interrupt handler.
181
181
The compiler will save/restore all used registers in the prologue/epilogue
182
182
regardless of the ABI, all used registers including floating point
183
- register/vector register if ` F ` extension/vector extension is enabled.
183
+ register/vector register if ` F ` extension/vector extension is enabled. If F or
184
+ V CSRs may be modified by an interrupt function, they must be saved by the
185
+ compiler.
184
186
185
187
The interrupt attribute can have an optional parameter to specify the mode.
186
188
The possible values are ` user ` , ` supervisor ` , or ` machine ` .
You can’t perform that action at this time.
0 commit comments