Rev 4011 | Rev 4070 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4011 | Rev 4042 | ||
|---|---|---|---|
| Line 38... | Line 38... | ||
| 38 | #include <arch/drivers/scr.h> |
38 | #include <arch/drivers/scr.h> |
| 39 | #include <arch/drivers/kbd.h> |
39 | #include <arch/drivers/kbd.h> |
| 40 | 40 | ||
| 41 | #include <arch/drivers/sgcn.h> |
41 | #include <arch/drivers/sgcn.h> |
| 42 | 42 | ||
| 43 | #ifdef CONFIG_Z8530 |
- | |
| 44 | #include <genarch/kbd/z8530.h> |
- | |
| 45 | #endif |
- | |
| 46 | #ifdef CONFIG_NS16550 |
- | |
| 47 | #include <genarch/kbd/ns16550.h> |
- | |
| 48 | #endif |
- | |
| 49 | - | ||
| 50 | #include <console/chardev.h> |
43 | #include <console/chardev.h> |
| 51 | #include <console/console.h> |
44 | #include <console/console.h> |
| 52 | #include <arch/asm.h> |
45 | #include <arch/asm.h> |
| 53 | #include <arch/register.h> |
46 | #include <arch/register.h> |
| 54 | #include <proc/thread.h> |
47 | #include <proc/thread.h> |
| Line 68... | Line 61... | ||
| 68 | * @param aliases the "/aliases" OBP node |
61 | * @param aliases the "/aliases" OBP node |
| 69 | */ |
62 | */ |
| 70 | static void standard_console_init(ofw_tree_node_t *aliases) |
63 | static void standard_console_init(ofw_tree_node_t *aliases) |
| 71 | { |
64 | { |
| 72 | #ifdef CONFIG_FB |
65 | #ifdef CONFIG_FB |
| 73 | stdin = NULL; |
- | |
| 74 | - | ||
| 75 | ofw_tree_property_t *prop; |
66 | ofw_tree_property_t *prop; |
| 76 | ofw_tree_node_t *screen; |
67 | ofw_tree_node_t *screen; |
| 77 | ofw_tree_node_t *keyboard; |
68 | ofw_tree_node_t *keyboard; |
| 78 | 69 | ||
| 79 | prop = ofw_tree_getprop(aliases, "screen"); |
70 | prop = ofw_tree_getprop(aliases, "screen"); |