Rev 1610 | Rev 1649 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1610 | Rev 1640 | ||
---|---|---|---|
Line 115... | Line 115... | ||
115 | }; |
115 | }; |
116 | 116 | ||
117 | /* Initialize key buffer */ |
117 | /* Initialize key buffer */ |
118 | keybuffer_init(&keybuffer); |
118 | keybuffer_init(&keybuffer); |
119 | 119 | ||
- | 120 | async_set_client_connection(console_connection); |
|
- | 121 | async_set_interrupt_received(irq_handler); |
|
120 | /* Register service at nameserver */ |
122 | /* Register service at nameserver */ |
121 | - | ||
122 | if ((res = ipc_connect_to_me(PHONE_NS, SERVICE_KEYBOARD, 0, &phonead)) != 0) { |
123 | if ((res = ipc_connect_to_me(PHONE_NS, SERVICE_KEYBOARD, 0, &phonead)) != 0) { |
123 | return -1; |
124 | return -1; |
124 | } |
125 | } |
125 | 126 | ||
126 | async_set_client_connection(console_connection); |
- | |
127 | async_set_interrupt_received(irq_handler); |
- | |
128 | async_manager(); |
127 | async_manager(); |
129 | 128 | ||
130 | } |
129 | } |