Changeset 6efe0ddf in mainline for ns/ns.c


Ignore:
Timestamp:
2006-05-16T17:24:25Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
afa6e74
Parents:
aa0609b
Message:

Sync with kernel.
Rename IPC_M_AS_SEND to IPC_M_AS_AREA_SEND.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ns/ns.c

    raa0609b r6efe0ddf  
    7878        ipc_call_t call;
    7979        ipc_callid_t callid;
    80         char *as;
     80        char *as_area;
    8181       
    8282        ipcarg_t retval, arg1, arg2;
     
    9393//              printf("NS: Call in_phone_hash=%lX...", call.in_phone_hash);
    9494                switch (IPC_GET_METHOD(call)) {
    95                 case IPC_M_AS_SEND:
    96                         as = (char *)IPC_GET_ARG2(call);
    97                         printf("Received as: %P, size:%d\n", as, IPC_GET_ARG3(call));
     95                case IPC_M_AS_AREA_SEND:
     96                        as_area = (char *)IPC_GET_ARG2(call);
     97                        printf("Received as_area: %P, size:%d\n", as_area, IPC_GET_ARG3(call));
    9898                        retval = ipc_answer_fast(callid, 0,(sysarg_t)(1024*1024), 0);
    9999                        if (!retval) {
    100100                                printf("Reading shared memory...");
    101                                 printf("Text: %s", as);
     101                                printf("Text: %s", as_area);
    102102                        } else
    103103                                printf("Failed answer: %d\n", retval);
Note: See TracChangeset for help on using the changeset viewer.