Changeset da1bafb in mainline for kernel/generic/src/console/console.c
- Timestamp:
- 2010-05-24T18:57:31Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0095368
- Parents:
- 666f492
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/console.c
r666f492 rda1bafb 62 62 /** Kernel log initialized */ 63 63 static bool klog_inited = false; 64 64 65 /** First kernel log characters */ 65 66 static size_t klog_start = 0; 67 66 68 /** Number of valid kernel log characters */ 67 69 static size_t klog_len = 0; 70 68 71 /** Number of stored (not printed) kernel log characters */ 69 72 static size_t klog_stored = 0; 73 70 74 /** Number of stored kernel log characters for uspace */ 71 75 static size_t klog_uspace = 0; … … 84 88 }; 85 89 86 static void stdout_write(outdev_t * dev, wchar_t ch, bool silent);87 static void stdout_redraw(outdev_t * dev);90 static void stdout_write(outdev_t *, wchar_t, bool); 91 static void stdout_redraw(outdev_t *); 88 92 89 93 static outdev_operations_t stdout_ops = { … … 174 178 stdout->op->redraw(stdout); 175 179 176 /* Force the console to print the prompt */ 177 if ((stdin) && (prev)) 180 if ((stdin) && (prev)) { 181 /* 182 * Force the console to print the prompt. 183 */ 178 184 indev_push_character(stdin, '\n'); 185 } 179 186 } 180 187
Note:
See TracChangeset
for help on using the changeset viewer.