Changeset 290c0db in mainline for console/gcons.c


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.