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