Changes in kernel/generic/src/console/console.c [5e904dd:e90cfa6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/console.c
r5e904dd re90cfa6 53 53 #include <errno.h> 54 54 #include <str.h> 55 #include <stdatomic.h> 55 56 #include <abi/kio.h> 56 57 #include <mm/frame.h> /* SIZE2FRAMES */ … … 64 65 65 66 /** Kernel log initialized */ 66 static atomic_ t kio_inited = { false };67 static atomic_bool kio_inited = false; 67 68 68 69 /** First kernel log characters */ … … 202 203 203 204 event_set_unmask_callback(EVENT_KIO, kio_update); 204 atomic_s et(&kio_inited, true);205 atomic_store(&kio_inited, true); 205 206 } 206 207 … … 292 293 void kio_update(void *event) 293 294 { 294 if (!atomic_ get(&kio_inited))295 if (!atomic_load(&kio_inited)) 295 296 return; 296 297
Note:
See TracChangeset
for help on using the changeset viewer.