Rev 4318 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4318 | Rev 4323 | ||
|---|---|---|---|
| Line 122... | Line 122... | ||
| 122 | spinlock_unlock(&klog_lock); |
122 | spinlock_unlock(&klog_lock); |
| 123 | } |
123 | } |
| 124 | 124 | ||
| 125 | void grab_console(void) |
125 | void grab_console(void) |
| 126 | { |
126 | { |
| - | 127 | bool prev = silent; |
|
| - | 128 | ||
| 127 | silent = false; |
129 | silent = false; |
| 128 | arch_grab_console(); |
130 | arch_grab_console(); |
| 129 | 131 | ||
| 130 | /* Force the console to print the prompt */ |
132 | /* Force the console to print the prompt */ |
| 131 | if (stdin) |
133 | if ((stdin) && (prev)) |
| 132 | indev_push_character(stdin, '\n'); |
134 | indev_push_character(stdin, '\n'); |
| 133 | } |
135 | } |
| 134 | 136 | ||
| 135 | void release_console(void) |
137 | void release_console(void) |
| 136 | { |
138 | { |