Changeset 043dcc27 in mainline for libipc/include/ipc.h


Ignore:
Timestamp:
2006-05-15T13:45:12Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
108602e
Parents:
babe786
Message:

Implement simple connect_me_to in NS.
Disambigue the term phoneid by creating new term in_phone_hash,
which in fact represents kernel address of the phone sending the
message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libipc/include/ipc.h

    rbabe786 r043dcc27  
    3838typedef struct {
    3939        ipcarg_t args[IPC_CALL_LEN];
    40         ipcarg_t phoneid;
     40        ipcarg_t in_phone_hash;
    4141} ipc_call_t ;
    4242typedef sysarg_t ipc_callid_t;
     
    5959
    6060#define ipc_call_async(phoneid,method,arg1,private, callback) (ipc_call_async_2(phoneid, method, arg1, 0, private, callback))
    61 void ipc_call_async_2(int phoneid, ipcarg_t method, ipcarg_t arg1,
     61extern void ipc_call_async_2(int phoneid, ipcarg_t method, ipcarg_t arg1,
    6262                      ipcarg_t arg2, void *private,
    6363                      ipc_async_callback_t callback);
    64 int ipc_connect_to_me(int phoneid, int arg1, int arg2, ipcarg_t *phone);
    65 int ipc_connect_me_to(int phoneid, int arg1, int arg2);
    66 int ipc_hangup(int phoneid);
    67 int ipc_register_irq(int irq, irq_code_t *code);
    68 int ipc_unregister_irq(int irq);
     64extern int ipc_connect_to_me(int phoneid, int arg1, int arg2, ipcarg_t *phone);
     65extern int ipc_connect_me_to(int phoneid, int arg1, int arg2);
     66extern int ipc_hangup(int phoneid);
     67extern int ipc_register_irq(int irq, irq_code_t *code);
     68extern int ipc_unregister_irq(int irq);
     69extern int ipc_forward_fast(ipc_callid_t callid, int phoneid, int method, ipcarg_t arg1);
    6970
    7071#endif
Note: See TracChangeset for help on using the changeset viewer.