Rev 1558 | Rev 1610 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1558 | Rev 1592 | ||
---|---|---|---|
Line 170... | Line 170... | ||
170 | redraw_state(consnum); |
170 | redraw_state(consnum); |
171 | 171 | ||
172 | vp_switch(console_vp); |
172 | vp_switch(console_vp); |
173 | } |
173 | } |
174 | 174 | ||
- | 175 | /** Notification function called on service disconnect from console */ |
|
- | 176 | void gcons_notify_disconnect(int consnum) |
|
- | 177 | { |
|
- | 178 | if (!use_gcons) |
|
- | 179 | return; |
|
- | 180 | if (active_console == consnum) |
|
- | 181 | console_state[consnum] = CONS_DISCONNECTED_SEL; |
|
- | 182 | else |
|
- | 183 | console_state[consnum] = CONS_DISCONNECTED; |
|
- | 184 | ||
- | 185 | if (active_console == KERNEL_CONSOLE) |
|
- | 186 | return; |
|
- | 187 | ||
- | 188 | redraw_state(consnum); |
|
- | 189 | vp_switch(console_vp); |
|
- | 190 | } |
|
- | 191 | ||
175 | /** Notification function called on console connect */ |
192 | /** Notification function called on console connect */ |
176 | void gcons_notify_connect(int consnum) |
193 | void gcons_notify_connect(int consnum) |
177 | { |
194 | { |
178 | if (!use_gcons) |
195 | if (!use_gcons) |
179 | return; |
196 | return; |