Changeset 8a9a41e in mainline for kernel/generic/src/lib/halt.c
- Timestamp:
- 2021-10-24T08:28:43Z (4 years ago)
- Children:
- 9ea3a41
- Parents:
- 2ce943a (diff), cd981f2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
- git-committer:
- GitHub <noreply@…> (2021-10-24 08:28:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/lib/halt.c
r2ce943a r8a9a41e 36 36 */ 37 37 38 #include <stdbool.h> 38 39 #include <halt.h> 39 40 #include <log.h> … … 44 45 45 46 /** Halt flag */ 46 atomic_ t haltstate = 0;47 atomic_bool haltstate = false; 47 48 48 49 /** Halt wrapper … … 57 58 58 59 if (!atomic_load(&haltstate)) { 59 atomic_store(&haltstate, 1);60 atomic_store(&haltstate, true); 60 61 rundebugger = true; 61 62 } 62 63 #else 63 atomic_store(&haltstate, 1);64 atomic_store(&haltstate, true); 64 65 #endif 65 66
Note:
See TracChangeset
for help on using the changeset viewer.