Rev 2465 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2465 | Rev 3789 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | 35 | ||
36 | #include <console/console.h> |
36 | #include <console/console.h> |
37 | #include <arch/console.h> |
37 | #include <arch/console.h> |
38 | #include <arch/machine.h> |
38 | #include <arch/machine.h> |
39 | 39 | ||
- | 40 | #include <genarch/fb/fb.h> |
|
- | 41 | ||
40 | void console_init(devno_t devno) |
42 | void console_init(devno_t devno) |
41 | { |
43 | { |
42 | machine_console_init(devno); |
44 | machine_console_init(devno); |
43 | } |
45 | } |
44 | 46 | ||
45 | /** Acquire console back for kernel. */ |
47 | /** Acquire console back for kernel. */ |
46 | void arch_grab_console(void) |
48 | void arch_grab_console(void) |
47 | { |
49 | { |
- | 50 | #ifdef CONFIG_FB |
|
- | 51 | fb_redraw(); |
|
- | 52 | #endif |
|
48 | machine_grab_console(); |
53 | machine_grab_console(); |
49 | } |
54 | } |
50 | 55 | ||
51 | /** Return console to userspace. */ |
56 | /** Return console to userspace. */ |
52 | void arch_release_console(void) |
57 | void arch_release_console(void) |