Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1702 | Rev 1741 | ||
---|---|---|---|
Line 120... | Line 120... | ||
120 | { |
120 | { |
121 | oldvector = int_register(MSIM_KBD_IRQ, "msim_kbd", msim_interrupt); |
121 | oldvector = int_register(MSIM_KBD_IRQ, "msim_kbd", msim_interrupt); |
122 | } |
122 | } |
123 | void msim_kbd_release(void) |
123 | void msim_kbd_release(void) |
124 | { |
124 | { |
- | 125 | if (oldvector) |
|
125 | int_register(MSIM_KBD_IRQ, "user_interrupt", oldvector); |
126 | int_register(MSIM_KBD_IRQ, "user_interrupt", oldvector); |
126 | } |
127 | } |
127 | 128 | ||
128 | /** @} |
129 | /** @} |
129 | */ |
130 | */ |
130 | 131 |