Rev 3924 | Rev 4148 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3924 | Rev 3955 | ||
|---|---|---|---|
| Line 38... | Line 38... | ||
| 38 | #include <async.h> |
38 | #include <async.h> |
| 39 | #include <sysinfo.h> |
39 | #include <sysinfo.h> |
| 40 | #include <kbd_port.h> |
40 | #include <kbd_port.h> |
| 41 | #include <kbd.h> |
41 | #include <kbd.h> |
| 42 | 42 | ||
| 43 | irq_cmd_t msim_cmds[1] = { |
43 | irq_cmd_t msim_cmds[] = { |
| - | 44 | { |
|
| 44 | { CMD_MEM_READ_1, (void *) 0, 0, 2 } |
45 | .cmd = CMD_PIO_READ_8, |
| - | 46 | .addr = (void *) 0, /* will be patched in run-time */ |
|
| - | 47 | .dstarg = 2 |
|
| - | 48 | }, |
|
| - | 49 | { |
|
| - | 50 | .cmd = CMD_ACCEPT |
|
| - | 51 | } |
|
| - | 52 | ||
| 45 | }; |
53 | }; |
| 46 | 54 | ||
| 47 | irq_code_t msim_kbd = { |
55 | irq_code_t msim_kbd = { |
| 48 | 1, |
- | |
| - | 56 | sizeof(msim_cmds) / sizeof(irq_cmd_t), |
|
| 49 | msim_cmds |
57 | msim_cmds |
| 50 | }; |
58 | }; |
| 51 | 59 | ||
| 52 | static void msim_irq_handler(ipc_callid_t iid, ipc_call_t *call); |
60 | static void msim_irq_handler(ipc_callid_t iid, ipc_call_t *call); |
| 53 | 61 | ||