Changeset 290c0db in mainline


Ignore:
Timestamp:
2006-06-10T20:31:16Z (18 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
15039b67
Parents:
237867d
Message:

Update to new api.
Fixed problem with hanged up phone when pressing keys during
graphics initialization.

Location:
console
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • console/console.c

    r237867d r290c0db  
    460460                return -1;
    461461        };
    462 
     462        async_new_connection(phonehash, 0, NULL, keyboard_events);
     463       
    463464        /* Connect to framebuffer driver */
    464465       
     
    504505        }
    505506
    506         async_new_connection(phonehash, 0, NULL, keyboard_events);
    507        
    508507        curs_goto(0,0);
    509508        curs_visibility(connections[active_console].screenbuffer.is_cursor_visible);
  • console/gcons.c

    r237867d r290c0db  
    9090                     unsigned int width, unsigned int height)
    9191{
    92         /* Init function, use ipc_call_sync */
    93         return ipc_call_sync_2(fbphone, FB_VIEWPORT_CREATE,
    94                                (x << 16) | y, (width << 16) | height,
    95                                NULL, NULL);
     92        return async_req_2(fbphone, FB_VIEWPORT_CREATE,
     93                           (x << 16) | y, (width << 16) | height,
     94                           NULL, NULL);
    9695}
    9796
     
    383382        fbphone = phone;
    384383
    385         rc = ipc_call_sync_2(phone, FB_GET_RESOLUTION, 0, 0, &xres, &yres);
     384        rc = async_req_2(phone, FB_GET_RESOLUTION, 0, 0, &xres, &yres);
    386385        if (rc)
    387386                return;
Note: See TracChangeset for help on using the changeset viewer.