/trunk/kernel/arch/arm32/src/drivers/gxemul.c |
---|
187,9 → 187,6 |
*/ |
static void gxemul_irq_handler(irq_t *irq) |
{ |
if ((irq->notif_cfg.notify) && (irq->notif_cfg.answerbox)) { |
ipc_irq_send_notif(irq); |
} else { |
char ch = 0; |
ch = *((char *) gxemul_hw_map.kbd); |
201,7 → 198,6 |
} |
chardev_push_character(&console, ch); |
} |
} |
static irq_ownership_t gxemul_claim(irq_t *irq) |
{ |
/trunk/uspace/srv/kbd/port/gxemul.c |
---|
42,15 → 42,17 |
static irq_cmd_t gxemul_cmds[] = { |
{ |
CMD_MEM_READ_1, |
(void *) 0, |
0, |
2 |
.cmd = CMD_PIO_READ_8, |
.addr = (void *) 0, /* will be patched in run-time */ |
.dstarg = 2, |
}, |
{ |
.cmd = CMD_ACCEPT |
} |
}; |
static irq_code_t gxemul_kbd = { |
1, |
sizeof(gxemul_cmds) / sizeof(irq_cmd_t), |
gxemul_cmds |
}; |