Changeset ebfabf6 in mainline for uspace/srv/console/console.c


Ignore:
Timestamp:
2009-04-24T20:33:49Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ccd1a14
Parents:
10270a8
Message:

Use better method names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/console/console.c

    r10270a8 rebfabf6  
    142142}
    143143
    144 static void screen_grab(void)
    145 {
    146         ipc_call_sync_0_0(fb_info.phone, FB_SCREEN_GRAB);
    147 }
    148 
    149 static void screen_relinquish(void)
    150 {
    151         ipc_call_sync_0_0(fb_info.phone, FB_SCREEN_RELINQUISH);
     144static void screen_yield(void)
     145{
     146        ipc_call_sync_0_0(fb_info.phone, FB_SCREEN_YIELD);
     147}
     148
     149static void screen_reclaim(void)
     150{
     151        ipc_call_sync_0_0(fb_info.phone, FB_SCREEN_RECLAIM);
    152152}
    153153
     
    341341                curs_hide_sync();
    342342                gcons_in_kernel();
    343                 screen_relinquish();
     343                screen_yield();
    344344                async_serialize_end();
    345345
     
    356356               
    357357                if (active_console == KERNEL_CONSOLE) {
    358                         screen_grab();
     358                        screen_reclaim();
    359359                        gcons_redraw_console();
    360360                }
Note: See TracChangeset for help on using the changeset viewer.