Changeset ea28272 in mainline for uspace/lib/c/include/ipc/ipc.h
- Timestamp:
- 2010-12-30T13:43:27Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d770deb
- Parents:
- d70d80ed (diff), f418e51 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/ipc.h
rd70d80ed rea28272 44 44 #define IPC_FLAG_BLOCKING 0x01 45 45 46 typedef sysarg_t ipcarg_t;47 48 46 typedef struct { 49 ipcarg_t args[IPC_CALL_LEN];50 ipcarg_t in_phone_hash;47 sysarg_t args[IPC_CALL_LEN]; 48 sysarg_t in_phone_hash; 51 49 } ipc_call_t; 52 50 … … 183 181 (arg4), (arg5), (res1), (res2), (res3), (res4), (res5)) 184 182 185 extern int ipc_call_sync_fast(int, ipcarg_t, ipcarg_t, ipcarg_t, ipcarg_t,186 ipcarg_t *, ipcarg_t *, ipcarg_t *, ipcarg_t *, ipcarg_t *);187 188 extern int ipc_call_sync_slow(int, ipcarg_t, ipcarg_t, ipcarg_t, ipcarg_t,189 ipcarg_t, ipcarg_t, ipcarg_t *, ipcarg_t *, ipcarg_t *, ipcarg_t *,190 ipcarg_t *);183 extern int ipc_call_sync_fast(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 184 sysarg_t *, sysarg_t *, sysarg_t *, sysarg_t *, sysarg_t *); 185 186 extern int ipc_call_sync_slow(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 187 sysarg_t, sysarg_t, sysarg_t *, sysarg_t *, sysarg_t *, sysarg_t *, 188 sysarg_t *); 191 189 192 190 extern ipc_callid_t ipc_wait_cycle(ipc_call_t *, uint32_t, int); … … 220 218 ipc_answer_slow((callid), (retval), (arg1), (arg2), (arg3), (arg4), (arg5)) 221 219 222 extern ipcarg_t ipc_answer_fast(ipc_callid_t, ipcarg_t, ipcarg_t, ipcarg_t,223 ipcarg_t, ipcarg_t);224 extern ipcarg_t ipc_answer_slow(ipc_callid_t, ipcarg_t, ipcarg_t, ipcarg_t,225 ipcarg_t, ipcarg_t, ipcarg_t);220 extern sysarg_t ipc_answer_fast(ipc_callid_t, sysarg_t, sysarg_t, sysarg_t, 221 sysarg_t, sysarg_t); 222 extern sysarg_t ipc_answer_slow(ipc_callid_t, sysarg_t, sysarg_t, sysarg_t, 223 sysarg_t, sysarg_t, sysarg_t); 226 224 227 225 /* … … 255 253 (arg4), (arg5), (private), (callback), (can_preempt)) 256 254 257 extern void ipc_call_async_fast(int, ipcarg_t, ipcarg_t, ipcarg_t, ipcarg_t,258 ipcarg_t, void *, ipc_async_callback_t, int);259 extern void ipc_call_async_slow(int, ipcarg_t, ipcarg_t, ipcarg_t, ipcarg_t,260 ipcarg_t, ipcarg_t, void *, ipc_async_callback_t, int);261 262 extern int ipc_connect_to_me(int, int, int, int, ipcarg_t *);255 extern void ipc_call_async_fast(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 256 sysarg_t, void *, ipc_async_callback_t, int); 257 extern void ipc_call_async_slow(int, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 258 sysarg_t, sysarg_t, void *, ipc_async_callback_t, int); 259 260 extern int ipc_connect_to_me(int, int, int, int, sysarg_t *); 263 261 extern int ipc_connect_me_to(int, int, int, int); 264 262 extern int ipc_connect_me_to_blocking(int, int, int, int); … … 266 264 extern int ipc_register_irq(int, int, int, irq_code_t *); 267 265 extern int ipc_unregister_irq(int, int); 268 extern int ipc_forward_fast(ipc_callid_t, int, int, ipcarg_t, ipcarg_t, int);269 extern int ipc_forward_slow(ipc_callid_t, int, int, ipcarg_t, ipcarg_t,270 ipcarg_t, ipcarg_t, ipcarg_t, int);266 extern int ipc_forward_fast(ipc_callid_t, int, int, sysarg_t, sysarg_t, int); 267 extern int ipc_forward_slow(ipc_callid_t, int, int, sysarg_t, sysarg_t, 268 sysarg_t, sysarg_t, sysarg_t, int); 271 269 272 270 /* … … 282 280 ipc_share_in_start((phoneid), (dst), (size), (arg), (flags)) 283 281 284 extern int ipc_share_in_start(int, void *, size_t, ipcarg_t, int *);282 extern int ipc_share_in_start(int, void *, size_t, sysarg_t, int *); 285 283 extern int ipc_share_in_finalize(ipc_callid_t, void *, int ); 286 284 extern int ipc_share_out_start(int, void *, int);
Note:
See TracChangeset
for help on using the changeset viewer.