File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -95,9 +95,11 @@ PendSV_Handler:
95
95
*
96
96
* System code, and initialization code (first call to schedule())
97
97
* use the master stack (MSP), while tasks use the alternative
98
- * stack (PSP). That is done by checking the fourth bit of the
99
- * return value of the exception, which can be found on the LR
100
- * register.
98
+ * stack (PSP).
99
+ *
100
+ * Determining the active stack is done by checking the fourth bit
101
+ * of the return value of the exception, which can be found on the
102
+ * LR register.
101
103
*
102
104
* Since the PendSV exception is the lowest level interrupt that
103
105
* can be invoked, the MSR stack is only used when it is invoked
@@ -138,7 +140,7 @@ PendSV_Handler:
138
140
* If the MSP stack is in use, update the MSP register value.
139
141
*
140
142
* FIXME I suspect this is not needed, since all of the possible
141
- * use cases for this are probaly safe anyway without performing
143
+ * use cases for this are probably safe anyway without performing
142
144
* this update.
143
145
*/
144
146
You can’t perform that action at this time.
0 commit comments