Changeset a9b6bec in mainline for kernel/generic/include/ipc/ipc.h
- Timestamp:
- 2010-12-14T20:19:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 11658b64
- Parents:
- 37f7cfe (diff), 228e490 (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
-
kernel/generic/include/ipc/ipc.h
r37f7cfe ra9b6bec 84 84 /* Macros for manipulating calling data */ 85 85 #define IPC_SET_RETVAL(data, retval) ((data).args[0] = (retval)) 86 #define IPC_SET_ METHOD(data, val)((data).args[0] = (val))86 #define IPC_SET_IMETHOD(data, val) ((data).args[0] = (val)) 87 87 #define IPC_SET_ARG1(data, val) ((data).args[1] = (val)) 88 88 #define IPC_SET_ARG2(data, val) ((data).args[2] = (val)) … … 91 91 #define IPC_SET_ARG5(data, val) ((data).args[5] = (val)) 92 92 93 #define IPC_GET_ METHOD(data) ((data).args[0])94 #define IPC_GET_RETVAL(data) ((data).args[0])93 #define IPC_GET_IMETHOD(data) ((data).args[0]) 94 #define IPC_GET_RETVAL(data) ((data).args[0]) 95 95 96 96 #define IPC_GET_ARG1(data) ((data).args[1]) … … 116 116 #define IPC_FF_ROUTE_FROM_ME (1 << 0) 117 117 118 /** Kernel IPC interfaces 119 * 120 */ 121 #define IPC_IF_KERNEL 0 122 118 123 /** System-specific methods - only through special syscalls 119 * These methods have special behaviour 124 * 125 * These methods have special behaviour. These methods also 126 * have the implicit kernel interface 0. 120 127 * 121 128 */ … … 311 318 312 319 typedef struct { 313 unative_t args[IPC_CALL_LEN];320 sysarg_t args[IPC_CALL_LEN]; 314 321 phone_t *phone; 315 322 } ipc_data_t; … … 331 338 332 339 /** Private data to internal IPC. */ 333 unative_t priv;340 sysarg_t priv; 334 341 335 342 /** Data passed from/to userspace. */ … … 368 375 369 376 extern void ipc_cleanup(void); 370 extern void ipc_backsend_err(phone_t *, call_t *, unative_t);377 extern void ipc_backsend_err(phone_t *, call_t *, sysarg_t); 371 378 extern void ipc_answerbox_slam_phones(answerbox_t *, bool); 372 379 extern void ipc_cleanup_call_list(link_t *);
Note:
See TracChangeset
for help on using the changeset viewer.