Changes in kernel/generic/src/console/console.c [da52547:d99c1d2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/console.c
rda52547 rd99c1d2 62 62 /** Kernel log initialized */ 63 63 static bool klog_inited = false; 64 65 64 /** First kernel log characters */ 66 65 static size_t klog_start = 0; 67 68 66 /** Number of valid kernel log characters */ 69 67 static size_t klog_len = 0; 70 71 68 /** Number of stored (not printed) kernel log characters */ 72 69 static size_t klog_stored = 0; 73 74 70 /** Number of stored kernel log characters for uspace */ 75 71 static size_t klog_uspace = 0; … … 88 84 }; 89 85 90 static void stdout_write(outdev_t * , wchar_t, bool);91 static void stdout_redraw(outdev_t * );86 static void stdout_write(outdev_t *dev, wchar_t ch, bool silent); 87 static void stdout_redraw(outdev_t *dev); 92 88 93 89 static outdev_operations_t stdout_ops = { … … 178 174 stdout->op->redraw(stdout); 179 175 180 if ((stdin) && (prev)) { 181 /* 182 * Force the console to print the prompt. 183 */ 176 /* Force the console to print the prompt */ 177 if ((stdin) && (prev)) 184 178 indev_push_character(stdin, '\n'); 185 }186 179 } 187 180 … … 294 287 stdout->op->write(stdout, ch, silent); 295 288 else { 296 /* 297 * No standard output routine defined yet. 298 * The character is still stored in the kernel log 299 * for possible future output. 300 * 301 * The early_putchar() function is used to output 302 * the character for low-level debugging purposes. 303 * Note that the early_putc() function might be 304 * a no-op on certain hardware configurations. 305 * 306 */ 307 early_putchar(ch); 308 289 /* The character is just in the kernel log */ 309 290 if (klog_stored < klog_len) 310 291 klog_stored++;
Note:
See TracChangeset
for help on using the changeset viewer.