Subversion Repositories HelenOS

Rev

Rev 2619 | Rev 3692 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2619 Rev 2677
Line 745... Line 745...
745
    int retval = 0;
745
    int retval = 0;
746
    viewport_t *vport = &viewports[vp];
746
    viewport_t *vport = &viewports[vp];
747
    unsigned int x, y;
747
    unsigned int x, y;
748
 
748
 
749
    switch (IPC_GET_METHOD(*call)) {
749
    switch (IPC_GET_METHOD(*call)) {
750
    case IPC_M_AS_AREA_SEND:
750
    case IPC_M_SHARE_OUT:
751
        /* We accept one area for data interchange */
751
        /* We accept one area for data interchange */
752
        if (IPC_GET_ARG1(*call) == shm_id) {
752
        if (IPC_GET_ARG1(*call) == shm_id) {
753
            void *dest = as_get_mappable_page(IPC_GET_ARG2(*call));
753
            void *dest = as_get_mappable_page(IPC_GET_ARG2(*call));
754
            shm_size = IPC_GET_ARG2(*call);
754
            shm_size = IPC_GET_ARG2(*call);
755
            if (!ipc_answer_1(callid, EOK, (sysarg_t) dest))
755
            if (!ipc_answer_1(callid, EOK, (sysarg_t) dest))