Changeset 7fc78da in mainline for libipc/generic/ipc.c


Ignore:
Timestamp:
2006-03-13T20:53:02Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a19bdf8
Parents:
b419162
Message:

New IPC synchronous call.
Widened syscall to support up to 5 parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libipc/generic/ipc.c

    rb419162 r7fc78da  
    3030#include <libc.h>
    3131
    32 static inline ipc_callid_t _ipc_call(int phoneid, int arg1, int arg2)
     32int ipc_call_sync(int phoneid, int arg1, int arg2, ipc_data_t *resdata)
    3333{
    34         __SYSCALL3(SYS_IPC_CALL, phoneid, arg1, arg2);
    35 }
    36 
    37 int ipc_call_sync(int phoneid, int arg1, int arg2)
    38 {
    39         ipc_data_t resdata;
    40 
    41         _ipc_call(phoneid, arg1, arg2);
    42         ipc_wait_for_call(&resdata,0);
     34        return __SYSCALL4(SYS_IPC_CALL_SYNC, phoneid, arg1, arg2,
     35                          (sysarg_t)resdata);
    4336}
    4437
Note: See TracChangeset for help on using the changeset viewer.