Rev 4042 | Rev 4071 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4042 | Rev 4070 | ||
---|---|---|---|
Line 122... | Line 122... | ||
122 | serengeti_init(); |
122 | serengeti_init(); |
123 | } |
123 | } |
124 | } |
124 | } |
125 | 125 | ||
126 | 126 | ||
127 | /** Kernel thread for polling keyboard. |
- | |
128 | * |
- | |
129 | * @param arg Ignored. |
- | |
130 | */ |
- | |
131 | void kkbdpoll(void *arg) |
- | |
132 | { |
- | |
133 | thread_detach(THREAD); |
- | |
134 | - | ||
135 | if (kbd_type != KBD_SGCN) |
- | |
136 | return; |
- | |
137 | - | ||
138 | while (1) { |
- | |
139 | #ifdef CONFIG_SGCN |
- | |
140 | if (kbd_type == KBD_SGCN) |
- | |
141 | sgcn_poll(); |
- | |
142 | #endif |
- | |
143 | thread_usleep(KEYBOARD_POLL_PAUSE); |
- | |
144 | } |
- | |
145 | } |
- | |
146 | - | ||
147 | /** Acquire console back for kernel |
127 | /** Acquire console back for kernel |
148 | * |
128 | * |
149 | */ |
129 | */ |
150 | void arch_grab_console(void) |
130 | void arch_grab_console(void) |
151 | { |
131 | { |