Subversion Repositories HelenOS

Rev

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 3951
Line 40... Line 40...
40
#include <kbd_port.h>
40
#include <kbd_port.h>
41
#include <kbd.h>
41
#include <kbd.h>
42
 
42
 
43
static irq_cmd_t gxemul_cmds[] = {
43
static irq_cmd_t gxemul_cmds[] = {
44
    {
44
    {
45
        CMD_MEM_READ_1,
45
        .cmd = CMD_PIO_READ_8,
-
 
46
        .addr = (void *) 0,     /* will be patched in run-time */
46
        (void *) 0,
47
        .dstarg = 2,
47
        0,
48
    },
48
        2
49
    {
-
 
50
        .cmd = CMD_ACCEPT
49
    }
51
    }
50
};
52
};
51
 
53
 
52
static irq_code_t gxemul_kbd = {
54
static irq_code_t gxemul_kbd = {
53
    1,
-
 
-
 
55
    sizeof(gxemul_cmds) / sizeof(irq_cmd_t),
54
    gxemul_cmds
56
    gxemul_cmds
55
};
57
};
56
 
58
 
57
static void gxemul_irq_handler(ipc_callid_t iid, ipc_call_t *call);
59
static void gxemul_irq_handler(ipc_callid_t iid, ipc_call_t *call);
58
 
60