Rev 4341 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4341 | Rev 4343 | ||
---|---|---|---|
Line 247... | Line 247... | ||
247 | } |
247 | } |
248 | 248 | ||
249 | return -1; |
249 | return -1; |
250 | } |
250 | } |
251 | 251 | ||
252 | static void cuda_irq_handler(irq_t *irq, void *arg, ...) |
252 | static void cuda_irq_handler(irq_t *irq) |
253 | { |
253 | { |
254 | if ((irq->notif_cfg.notify) && (irq->notif_cfg.answerbox)) |
254 | if ((irq->notif_cfg.notify) && (irq->notif_cfg.answerbox)) |
255 | ipc_irq_send_notif(irq); |
255 | ipc_irq_send_notif(irq); |
256 | else { |
256 | else { |
257 | int scan_code = cuda_get_scancode(); |
257 | int scan_code = cuda_get_scancode(); |
Line 262... | Line 262... | ||
262 | chardev_push_character(&kbrd, lchars[scancode & 0x7f]); |
262 | chardev_push_character(&kbrd, lchars[scancode & 0x7f]); |
263 | } |
263 | } |
264 | } |
264 | } |
265 | } |
265 | } |
266 | 266 | ||
267 | static irq_ownership_t cuda_claim(void) |
267 | static irq_ownership_t cuda_claim(void *instance) |
268 | { |
268 | { |
269 | return IRQ_ACCEPT; |
269 | return IRQ_ACCEPT; |
270 | } |
270 | } |
271 | 271 | ||
272 | 272 |