Subversion Repositories HelenOS

Rev

Rev 2621 | Rev 2678 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2621 Rev 2677
Line 323... Line 323...
323
    memcpy(shm, logo, size);
323
    memcpy(shm, logo, size);
324
    /* Send area */
324
    /* Send area */
325
    rc = async_req_1_0(fbphone, FB_PREPARE_SHM, (ipcarg_t) shm);
325
    rc = async_req_1_0(fbphone, FB_PREPARE_SHM, (ipcarg_t) shm);
326
    if (rc)
326
    if (rc)
327
        goto exit;
327
        goto exit;
328
    rc = async_req_3_0(fbphone, IPC_M_AS_AREA_SEND, (ipcarg_t) shm, 0,
328
    rc = ipc_share_out_send(fbphone, shm, PROTO_READ);
329
        PROTO_READ);
-
 
330
    if (rc)
329
    if (rc)
331
        goto drop;
330
        goto drop;
332
    /* Draw logo */
331
    /* Draw logo */
333
    async_msg_2(fbphone, FB_DRAW_PPM, x, y);
332
    async_msg_2(fbphone, FB_DRAW_PPM, x, y);
334
drop:
333
drop:
Line 385... Line 384...
385
    memcpy(shm, data, size);
384
    memcpy(shm, data, size);
386
    /* Send area */
385
    /* Send area */
387
    rc = async_req_1_0(fbphone, FB_PREPARE_SHM, (ipcarg_t) shm);
386
    rc = async_req_1_0(fbphone, FB_PREPARE_SHM, (ipcarg_t) shm);
388
    if (rc)
387
    if (rc)
389
        goto exit;
388
        goto exit;
390
    rc = async_req_3_0(fbphone, IPC_M_AS_AREA_SEND, (ipcarg_t) shm, 0,
389
    rc = ipc_share_out_send(fbphone, shm, PROTO_READ);
391
        PROTO_READ);
-
 
392
    if (rc)
390
    if (rc)
393
        goto drop;
391
        goto drop;
394
 
392
 
395
    /* Obtain pixmap */
393
    /* Obtain pixmap */
396
    rc = async_req_0_0(fbphone, FB_SHM2PIXMAP);
394
    rc = async_req_0_0(fbphone, FB_SHM2PIXMAP);