Rev 2725 | Rev 3779 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2725 | Rev 3707 | ||
|---|---|---|---|
| Line 91... | Line 91... | ||
| 91 | #ifdef CONFIG_FB |
91 | #ifdef CONFIG_FB |
| 92 | if (vesa_present()) |
92 | if (vesa_present()) |
| 93 | vesa_init(); |
93 | vesa_init(); |
| 94 | else |
94 | else |
| 95 | #endif |
95 | #endif |
| 96 | ega_init(); /* video */ |
96 | ega_init(); /* video */ |
| 97 | 97 | ||
| 98 | /* Enable debugger */ |
98 | /* Enable debugger */ |
| 99 | debugger_init(); |
99 | debugger_init(); |
| 100 | /* Merge all memory zones to 1 big zone */ |
100 | /* Merge all memory zones to 1 big zone */ |
| 101 | zone_merge_all(); |
101 | zone_merge_all(); |
| Line 157... | Line 157... | ||
| 157 | /** Acquire console back for kernel |
157 | /** Acquire console back for kernel |
| 158 | * |
158 | * |
| 159 | */ |
159 | */ |
| 160 | void arch_grab_console(void) |
160 | void arch_grab_console(void) |
| 161 | { |
161 | { |
| - | 162 | #ifdef CONFIG_FB |
|
| - | 163 | vesa_redraw(); |
|
| - | 164 | #else |
|
| - | 165 | ega_redraw(); |
|
| - | 166 | #endif |
|
| - | 167 | ||
| 162 | i8042_grab(); |
168 | i8042_grab(); |
| 163 | } |
169 | } |
| - | 170 | ||
| 164 | /** Return console to userspace |
171 | /** Return console to userspace |
| 165 | * |
172 | * |
| 166 | */ |
173 | */ |
| 167 | void arch_release_console(void) |
174 | void arch_release_console(void) |
| 168 | { |
175 | { |