Changeset 0c6984e in mainline for console/console.c


Ignore:
Timestamp:
2006-06-02T17:33:44Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1b4e74
Parents:
e1c4849
Message:

Console support for flush.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • console/console.c

    re1c4849 r0c6984e  
    182182                                if (c == '0') {
    183183                                        /* switch to kernel console*/
    184                                         sync_send_2(fb_info.phone, FB_CURSOR_VISIBILITY, 0, 0, NULL, NULL);
     184                                        nsend_call(fb_info.phone, FB_CURSOR_VISIBILITY, 0);
    185185                                        nsend_call_2(fb_info.phone, FB_SET_STYLE, DEFAULT_FOREGROUND_COLOR, DEFAULT_BACKGROUND_COLOR);
    186186                                        nsend_call(fb_info.phone, FB_CLEAR, 0);
     
    291291                       
    292292                        break;
     293
    293294                case CONSOLE_GETSIZE:
    294295                        arg1 = fb_info.cols;
    295296                        arg2 = fb_info.rows;
    296297                        break;
    297 
     298                case CONSOLE_FLUSH:
     299                        sync_send_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL);         
     300                        break;
    298301                case CONSOLE_GETCHAR:
    299302                        if (keybuffer_empty(&(connections[consnum].keybuffer))) {
Note: See TracChangeset for help on using the changeset viewer.