Rev 3343 | Rev 3618 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3343 | Rev 3514 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #include <arch/types.h> |
36 | #include <arch/types.h> |
37 | 37 | ||
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> |
|
- | 42 | ||
41 | #ifdef CONFIG_Z8530 |
43 | #ifdef CONFIG_Z8530 |
42 | #include <genarch/kbd/z8530.h> |
44 | #include <genarch/kbd/z8530.h> |
43 | #endif |
45 | #endif |
44 | #ifdef CONFIG_NS16550 |
46 | #ifdef CONFIG_NS16550 |
45 | #include <genarch/kbd/ns16550.h> |
47 | #include <genarch/kbd/ns16550.h> |
Line 115... | Line 117... | ||
115 | while (1) { |
117 | while (1) { |
116 | #ifdef CONFIG_NS16550 |
118 | #ifdef CONFIG_NS16550 |
117 | if (kbd_type == KBD_NS16550) |
119 | if (kbd_type == KBD_NS16550) |
118 | ns16550_poll(); |
120 | ns16550_poll(); |
119 | #endif |
121 | #endif |
- | 122 | sgcn_poll(); |
|
120 | thread_usleep(KEYBOARD_POLL_PAUSE); |
123 | thread_usleep(KEYBOARD_POLL_PAUSE); |
121 | } |
124 | } |
122 | } |
125 | } |
123 | 126 | ||
124 | /** Acquire console back for kernel |
127 | /** Acquire console back for kernel |