Rev 4055 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4055 | Rev 4156 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #include <console/console.h> |
35 | #include <console/console.h> |
36 | #include <arch/console.h> |
- | |
37 | #include <arch/drivers/serial.h> |
- | |
38 | #include <arch/drivers/msim.h> |
- | |
39 | #include <genarch/fb/fb.h> |
36 | #include <genarch/fb/fb.h> |
40 | 37 | ||
41 | /** Acquire console back for kernel |
38 | /** Acquire console back for kernel |
42 | * |
39 | * |
43 | */ |
40 | */ |
44 | void arch_grab_console(void) |
41 | void arch_grab_console(void) |
45 | { |
42 | { |
46 | #ifdef CONFIG_FB |
43 | #ifdef CONFIG_FB |
47 | fb_redraw(); |
44 | fb_redraw(); |
48 | #endif |
45 | #endif |
49 | msim_kbd_grab(); |
- | |
50 | } |
46 | } |
51 | 47 | ||
52 | /** Return console to userspace |
48 | /** Return console to userspace |
53 | * |
49 | * |
54 | */ |
50 | */ |
55 | void arch_release_console(void) |
51 | void arch_release_console(void) |
56 | { |
52 | { |
57 | msim_kbd_release(); |
- | |
58 | } |
53 | } |
59 | 54 | ||
60 | /** @} |
55 | /** @} |
61 | */ |
56 | */ |