Changes in kernel/generic/src/console/console.c [0496c17:c9f5e238] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/console.c
r0496c17 rc9f5e238 53 53 #include <str.h> 54 54 55 #define KLOG_PAGES 8 55 /* 56 * devman produces a lot of output and by giving so many pages 57 * we to allow /app/klog to catch-up. 58 */ 59 #ifdef CONFIG_DEVMAN_EARLY_LAUNCH 60 #define KLOG_PAGES 64 61 #else 62 #define KLOG_PAGES 4 63 #endif 64 56 65 #define KLOG_LENGTH (KLOG_PAGES * PAGE_SIZE / sizeof(wchar_t)) 57 66 #define KLOG_LATENCY 8 … … 165 174 sysinfo_set_item_val("klog.faddr", NULL, (sysarg_t) faddr); 166 175 sysinfo_set_item_val("klog.pages", NULL, KLOG_PAGES); 167 168 event_set_unmask_callback(EVENT_KLOG, klog_update);169 176 170 177 spinlock_lock(&klog_lock); … … 267 274 spinlock_lock(&klog_lock); 268 275 269 if ((klog_inited) && (klog_uspace > 0)) { 270 if (event_notify_3(EVENT_KLOG, true, klog_start, klog_len, 271 klog_uspace) == EOK) 272 klog_uspace = 0; 276 if ((klog_inited) && (event_is_subscribed(EVENT_KLOG)) && (klog_uspace > 0)) { 277 event_notify_3(EVENT_KLOG, klog_start, klog_len, klog_uspace); 278 klog_uspace = 0; 273 279 } 274 280
Note:
See TracChangeset
for help on using the changeset viewer.