Rev 958 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 958 | Rev 1474 | ||
---|---|---|---|
Line 106... | Line 106... | ||
106 | cp0_unmask_int(MSIM_KBD_IRQ); |
106 | cp0_unmask_int(MSIM_KBD_IRQ); |
107 | 107 | ||
108 | stdin = &console; |
108 | stdin = &console; |
109 | stdout = &console; |
109 | stdout = &console; |
110 | } |
110 | } |
- | 111 | ||
- | 112 | static iroutine oldvector; |
|
- | 113 | void msim_kbd_grab(void) |
|
- | 114 | { |
|
- | 115 | oldvector = int_register(MSIM_KBD_IRQ, "msim_kbd", msim_interrupt); |
|
- | 116 | } |
|
- | 117 | void msim_kbd_release(void) |
|
- | 118 | { |
|
- | 119 | int_register(MSIM_KBD_IRQ, "user_interrupt", oldvector); |
|
- | 120 | } |