Subversion Repositories HelenOS-historic

Rev

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

Rev 1366 Rev 1418
Line 91... Line 91...
91
    while (1) {
91
    while (1) {
92
        callid = ipc_wait_for_call(&call);
92
        callid = ipc_wait_for_call(&call);
93
//      printf("NS: Call in_phone_hash=%lX...", call.in_phone_hash);
93
//      printf("NS: Call in_phone_hash=%lX...", call.in_phone_hash);
94
        switch (IPC_GET_METHOD(call)) {
94
        switch (IPC_GET_METHOD(call)) {
95
        case IPC_M_AS_AREA_SEND:
95
        case IPC_M_AS_AREA_SEND:
96
            as_area = (char *)IPC_GET_ARG2(call);
96
            as_area = (char *)IPC_GET_ARG1(call);
97
//          printf("Received as_area: %P, size:%d\n", as_area, IPC_GET_ARG3(call));
97
//          printf("Received as_area: %P, size:%d\n", as_area, IPC_GET_ARG2(call));
98
            retval = ipc_answer_fast(callid, 0,(sysarg_t)(1024*1024), 0);
98
            retval = ipc_answer_fast(callid, 0,(sysarg_t)(1024*1024), 0);
99
            if (!retval) {
99
            if (!retval) {
100
//              printf("Reading shared memory...");
100
//              printf("Reading shared memory...");
101
//              printf("Text: %s", as_area);
101
//              printf("Text: %s", as_area);
102
            } else
102
            } else