Rev 2357 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2357 | Rev 2464 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | * @brief Console. |
33 | * @brief Console. |
34 | */ |
34 | */ |
35 | 35 | ||
36 | - | ||
37 | #include <console/console.h> |
36 | #include <console/console.h> |
38 | #include <arch/console.h> |
37 | #include <arch/console.h> |
39 | #include <arch/machine.h> |
38 | #include <arch/machine.h> |
40 | 39 | ||
41 | - | ||
42 | void console_init(devno_t devno) |
40 | void console_init(devno_t devno) |
43 | { |
41 | { |
44 | machine_console_init(devno); |
42 | machine_console_init(devno); |
45 | } |
43 | } |
46 | 44 | ||
47 | - | ||
48 | /** Acquire console back for kernel. */ |
45 | /** Acquire console back for kernel. */ |
49 | void arch_grab_console(void) |
46 | void arch_grab_console(void) |
50 | { |
47 | { |
51 | machine_grab_console(); |
48 | machine_grab_console(); |
52 | } |
49 | } |
53 | 50 | ||
54 | - | ||
55 | /** Return console to userspace. */ |
51 | /** Return console to userspace. */ |
56 | void arch_release_console(void) |
52 | void arch_release_console(void) |
57 | { |
53 | { |
58 | machine_release_console(); |
54 | machine_release_console(); |
59 | } |
55 | } |
60 | 56 | ||
61 | - | ||
62 | /** @} |
57 | /** @} |
63 | */ |
58 | */ |