Subversion Repositories HelenOS-historic

Rev

Rev 588 | Rev 606 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 588 Rev 590
Line 79... Line 79...
79
/* Return console object representing msim console */
79
/* Return console object representing msim console */
80
chardev_t * msim_console(void)
80
chardev_t * msim_console(void)
81
{
81
{
82
    chardev_initialize("msim_console", &console, &msim_ops);
82
    chardev_initialize("msim_console", &console, &msim_ops);
83
 
83
 
84
    exc_register(MSIM_KBD_IRQ, "msim_kbd", msim_interrupt);
84
    int_register(MSIM_KBD_IRQ, "msim_kbd", msim_interrupt);
85
 
85
 
86
    cp0_unmask_int(MSIM_KBD_IRQ);
86
    cp0_unmask_int(MSIM_KBD_IRQ);
87
 
87
 
88
    return &console;
88
    return &console;
89
}
89
}