Subversion Repositories HelenOS-historic

Rev

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

Rev 1646 Rev 1647
Line 133... Line 133...
133
        return;
133
        return;
134
 
134
 
135
    if (active_console == KERNEL_CONSOLE) {
135
    if (active_console == KERNEL_CONSOLE) {
136
        for (i=0; i < CONSOLE_COUNT; i++)
136
        for (i=0; i < CONSOLE_COUNT; i++)
137
            redraw_state(i);
137
            redraw_state(i);
-
 
138
        if (animation != -1)
-
 
139
            async_msg(fbphone, FB_ANIM_START, animation);
138
    } else {
140
    } else {
139
        if (console_state[active_console] == CONS_DISCONNECTED_SEL)
141
        if (console_state[active_console] == CONS_DISCONNECTED_SEL)
140
            console_state[active_console] = CONS_DISCONNECTED;
142
            console_state[active_console] = CONS_DISCONNECTED;
141
        else
143
        else
142
            console_state[active_console] = CONS_IDLE;
144
            console_state[active_console] = CONS_IDLE;
Line 214... Line 216...
214
        console_state[active_console] = CONS_DISCONNECTED;
216
        console_state[active_console] = CONS_DISCONNECTED;
215
    else
217
    else
216
        console_state[active_console] = CONS_IDLE;
218
        console_state[active_console] = CONS_IDLE;
217
    redraw_state(active_console);
219
    redraw_state(active_console);
218
 
220
 
-
 
221
    if (animation != -1)
-
 
222
        async_msg(fbphone, FB_ANIM_STOP, animation);
-
 
223
 
219
    active_console = KERNEL_CONSOLE; /* Set to kernel console */
224
    active_console = KERNEL_CONSOLE; /* Set to kernel console */
220
    vp_switch(0);
225
    vp_switch(0);
221
}
226
}
222
 
227
 
223
/** Draw a PPM pixmap to framebuffer
228
/** Draw a PPM pixmap to framebuffer