Skip to content

Commit 5d6c316

Browse files
meriacsg-
authored andcommitted
uVisor: Enforce thread switch atomicity
The system hook thread_switch gets called both through the SVC and though the PendSV, which can get interrupted by the SVC. Since calls to the uVisor API are not re-entrant, we need to wrap this function in an atomic section to prevent faults.
1 parent d166c9a commit 5d6c316

File tree

12 files changed

+5
-5
lines changed

12 files changed

+5
-5
lines changed

features/FEATURE_UVISOR/AUTHORS.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
568 Milosch Meriac
2-
477 Alessandro Angelino
3-
72 Jaeden Amero
4-
53 Niklas Hauser
1+
569 Milosch Meriac
2+
478 Alessandro Angelino
3+
73 Jaeden Amero
4+
54 Niklas Hauser
55
3 Hugo Vincent
66
3 JaredCJR
77
3 Jim Huang

features/FEATURE_UVISOR/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.25.0
1+
v0.25.1

0 commit comments

Comments
 (0)