Rev 1842 | Rev 1921 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1842 | Rev 1896 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | 34 | ||
35 | #ifndef KERN_sparc64_KBD_H_ |
35 | #ifndef KERN_sparc64_KBD_H_ |
36 | #define KERN_sparc64_KBD_H_ |
36 | #define KERN_sparc64_KBD_H_ |
37 | 37 | ||
38 | #include <arch/types.h> |
38 | #include <arch/types.h> |
- | 39 | #include <genarch/ofw/ofw_tree.h> |
|
- | 40 | ||
- | 41 | typedef enum { |
|
- | 42 | KBD_UNKNOWN, |
|
- | 43 | KBD_Z8530, |
|
- | 44 | KBD_NS16550 |
|
- | 45 | } kbd_type_t; |
|
- | 46 | ||
- | 47 | extern kbd_type_t kbd_type; |
|
39 | 48 | ||
40 | extern volatile uint8_t *kbd_virt_address; |
49 | extern volatile uint8_t *kbd_virt_address; |
41 | 50 | ||
42 | extern void kbd_init(void); |
51 | extern void kbd_init(ofw_tree_node_t *node); |
43 | 52 | ||
44 | #endif |
53 | #endif |
45 | 54 | ||
46 | /** @} |
55 | /** @} |
47 | */ |
56 | */ |