Rev 3386 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3386 | Rev 4153 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | * @brief Console. |
33 | * @brief Console. |
34 | */ |
34 | */ |
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 <genarch/fb/fb.h> |
39 | - | ||
40 | void console_init(devno_t devno) |
- | |
41 | { |
- | |
42 | machine_console_init(devno); |
- | |
43 | } |
- | |
44 | 39 | ||
45 | /** Acquire console back for kernel. */ |
40 | /** Acquire console back for kernel. */ |
46 | void arch_grab_console(void) |
41 | void arch_grab_console(void) |
47 | { |
42 | { |
- | 43 | #ifdef CONFIG_FB |
|
48 | machine_grab_console(); |
44 | fb_redraw(); |
- | 45 | #endif |
|
49 | } |
46 | } |
50 | 47 | ||
51 | /** Return console to userspace. */ |
48 | /** Return console to userspace. */ |
52 | void arch_release_console(void) |
49 | void arch_release_console(void) |
53 | { |
50 | { |
54 | machine_release_console(); |
- | |
55 | } |
51 | } |
56 | 52 | ||
57 | /** @} |
53 | /** @} |
58 | */ |
54 | */ |