Changes in kernel/generic/src/lib/halt.c [1433ecda:e90cfa6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/lib/halt.c
r1433ecda re90cfa6 44 44 45 45 /** Halt flag */ 46 atomic_t haltstate = { 0 };46 atomic_t haltstate = 0; 47 47 48 48 /** Halt wrapper … … 56 56 bool rundebugger = false; 57 57 58 if (!atomic_ get(&haltstate)) {59 atomic_s et(&haltstate, 1);58 if (!atomic_load(&haltstate)) { 59 atomic_store(&haltstate, 1); 60 60 rundebugger = true; 61 61 } 62 62 #else 63 atomic_s et(&haltstate, 1);63 atomic_store(&haltstate, 1); 64 64 #endif 65 65
Note:
See TracChangeset
for help on using the changeset viewer.