We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8408a5c commit 8eb3a72Copy full SHA for 8eb3a72
src/r3_port_arm_m/src/lib.md
@@ -49,6 +49,10 @@ As a general thumb rule, you should not directly access hardware registers (e.g.
49
50
This port agrees with `::cortex_m` in that updating `PRIMASK` is `unsafe` because using it incorrectly can break a certain type of critical section.
51
52
+Calling a kernel function with interrupts disabled is strongly discouraged as doing so will lead to a deadlock or a [`BadContext`][] error.
53
+
54
+[`BadContext`]: r3_core::kernel::ResultCode::BadContext
55
56
## Stack Overflow
57
58
This port doesn't support detecting stack overflow.
0 commit comments