Subversion Repositories HelenOS

Rev

Rev 4284 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4284 Rev 4329
Line 104... Line 104...
104
    ipc_register_irq(sysinfo_value("kbd.inr"), device_assign_devno(),
104
    ipc_register_irq(sysinfo_value("kbd.inr"), device_assign_devno(),
105
        sysinfo_value("kbd.inr"), &ns16550_kbd);
105
        sysinfo_value("kbd.inr"), &ns16550_kbd);
106
    return pio_enable((void *) ns16550_physical, 8, &vaddr);
106
    return pio_enable((void *) ns16550_physical, 8, &vaddr);
107
}
107
}
108
 
108
 
-
 
109
void ns16550_port_yield(void)
-
 
110
{
-
 
111
}
-
 
112
 
-
 
113
void ns16550_port_reclaim(void)
-
 
114
{
-
 
115
}
-
 
116
 
109
static void ns16550_irq_handler(ipc_callid_t iid, ipc_call_t *call)
117
static void ns16550_irq_handler(ipc_callid_t iid, ipc_call_t *call)
110
{
118
{
111
    int scan_code = IPC_GET_ARG2(*call);
119
    int scan_code = IPC_GET_ARG2(*call);
112
    kbd_push_scancode(scan_code);
120
    kbd_push_scancode(scan_code);
113
   
121