Changes in kernel/generic/include/ipc/ipc.h [228e490:da1bafb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/ipc.h
r228e490 rda1bafb 43 43 #define IPC_CALL_LEN 6 44 44 45 /** Maximum active async calls per phone */ 46 #define IPC_MAX_ASYNC_CALLS 4 45 /** Maximum active async calls per thread */ 46 #ifdef CONFIG_DEBUG 47 #define IPC_MAX_ASYNC_CALLS 4 48 #else 49 #define IPC_MAX_ASYNC_CALLS 4000 50 #endif 47 51 48 52 /* Flags for calls */ … … 84 88 /* Macros for manipulating calling data */ 85 89 #define IPC_SET_RETVAL(data, retval) ((data).args[0] = (retval)) 86 #define IPC_SET_ IMETHOD(data, val)((data).args[0] = (val))90 #define IPC_SET_METHOD(data, val) ((data).args[0] = (val)) 87 91 #define IPC_SET_ARG1(data, val) ((data).args[1] = (val)) 88 92 #define IPC_SET_ARG2(data, val) ((data).args[2] = (val)) … … 91 95 #define IPC_SET_ARG5(data, val) ((data).args[5] = (val)) 92 96 93 #define IPC_GET_ IMETHOD(data) ((data).args[0])94 #define IPC_GET_RETVAL(data) 97 #define IPC_GET_METHOD(data) ((data).args[0]) 98 #define IPC_GET_RETVAL(data) ((data).args[0]) 95 99 96 100 #define IPC_GET_ARG1(data) ((data).args[1]) … … 116 120 #define IPC_FF_ROUTE_FROM_ME (1 << 0) 117 121 118 /** Kernel IPC interfaces119 *120 */121 #define IPC_IF_KERNEL 0122 123 122 /** System-specific methods - only through special syscalls 124 * 125 * These methods have special behaviour. These methods also 126 * have the implicit kernel interface 0. 123 * These methods have special behaviour 127 124 * 128 125 */ … … 318 315 319 316 typedef struct { 320 sysarg_t args[IPC_CALL_LEN];317 unative_t args[IPC_CALL_LEN]; 321 318 phone_t *phone; 322 319 } ipc_data_t; … … 338 335 339 336 /** Private data to internal IPC. */ 340 sysarg_t priv;337 unative_t priv; 341 338 342 339 /** Data passed from/to userspace. */ … … 375 372 376 373 extern void ipc_cleanup(void); 377 extern void ipc_backsend_err(phone_t *, call_t *, sysarg_t);374 extern void ipc_backsend_err(phone_t *, call_t *, unative_t); 378 375 extern void ipc_answerbox_slam_phones(answerbox_t *, bool); 379 376 extern void ipc_cleanup_call_list(link_t *);
Note:
See TracChangeset
for help on using the changeset viewer.