Rev 588 | Rev 605 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 588 | Rev 590 | ||
|---|---|---|---|
| Line 249... | Line 249... | ||
| 249 | chardev_t * arc_console(void) |
249 | chardev_t * arc_console(void) |
| 250 | { |
250 | { |
| 251 | kbd_polling_enabled = true; |
251 | kbd_polling_enabled = true; |
| 252 | 252 | ||
| 253 | chardev_initialize("arc_console", &console, &arc_ops); |
253 | chardev_initialize("arc_console", &console, &arc_ops); |
| 254 | old_timer = exc_register(TIMER_IRQ, "arc_kb_poll", timer_replace); |
254 | old_timer = int_register(TIMER_IRQ, "arc_kb_poll", timer_replace); |
| 255 | return &console; |
255 | return &console; |
| 256 | } |
256 | } |
| 257 | 257 | ||
| 258 | /* Initialize frame zones from ARC firmware. |
258 | /* Initialize frame zones from ARC firmware. |
| 259 | * In the future we may use even the FirmwareTemporary regions, |
259 | * In the future we may use even the FirmwareTemporary regions, |