Subversion Repositories HelenOS-historic

Rev

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

Rev 1523 Rev 1525
Line 296... Line 296...
296
            arg2 = fb_info.rows;
296
            arg2 = fb_info.rows;
297
            break;
297
            break;
298
        case CONSOLE_FLUSH:
298
        case CONSOLE_FLUSH:
299
            sync_send_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL);    
299
            sync_send_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL);    
300
            break;
300
            break;
-
 
301
        case CONSOLE_SET_STYLE:
-
 
302
           
-
 
303
            arg1 = IPC_GET_ARG1(call);
-
 
304
            arg2 = IPC_GET_ARG2(call);
-
 
305
            screenbuffer_set_style(&(connections[consnum]),arg1, arg2);
-
 
306
            if (consnum == active_console)
-
 
307
                nsend_call_2(fb_info.phone, FB_SET_STYLE, arg1, arg2);
-
 
308
               
-
 
309
            break;
301
        case CONSOLE_GETCHAR:
310
        case CONSOLE_GETCHAR:
302
            if (keybuffer_empty(&(connections[consnum].keybuffer))) {
311
            if (keybuffer_empty(&(connections[consnum].keybuffer))) {
303
                /* buffer is empty -> store request */
312
                /* buffer is empty -> store request */
304
                if (connections[consnum].keyrequest_counter < MAX_KEYREQUESTS_BUFFERED) {      
313
                if (connections[consnum].keyrequest_counter < MAX_KEYREQUESTS_BUFFERED) {      
305
                    fifo_push(connections[consnum].keyrequests, callid);
314
                    fifo_push(connections[consnum].keyrequests, callid);