Rev 3343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3343 | Rev 3745 | ||
|---|---|---|---|
| Line 34... | Line 34... | ||
| 34 | 34 | ||
| 35 | #include <console/console.h> |
35 | #include <console/console.h> |
| 36 | #include <arch/console.h> |
36 | #include <arch/console.h> |
| 37 | #include <arch/drivers/serial.h> |
37 | #include <arch/drivers/serial.h> |
| 38 | #include <arch/drivers/msim.h> |
38 | #include <arch/drivers/msim.h> |
| - | 39 | #include <genarch/fb/fb.h> |
|
| 39 | 40 | ||
| 40 | void console_init(devno_t devno) |
41 | void console_init(devno_t devno) |
| 41 | { |
42 | { |
| 42 | if (serial_init()) |
43 | if (serial_init()) |
| 43 | serial_console(devno); |
44 | serial_console(devno); |
| Line 48... | Line 49... | ||
| 48 | /** Acquire console back for kernel |
49 | /** Acquire console back for kernel |
| 49 | * |
50 | * |
| 50 | */ |
51 | */ |
| 51 | void arch_grab_console(void) |
52 | void arch_grab_console(void) |
| 52 | { |
53 | { |
| - | 54 | #ifdef CONFIG_FB |
|
| - | 55 | fb_redraw(); |
|
| - | 56 | #endif |
|
| 53 | msim_kbd_grab(); |
57 | msim_kbd_grab(); |
| 54 | } |
58 | } |
| 55 | 59 | ||
| 56 | /** Return console to userspace |
60 | /** Return console to userspace |
| 57 | * |
61 | * |