- Timestamp:
- 2007-12-31T10:14:38Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 27d293a
- Parents:
- badbd888
- Location:
- kernel/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/ipc.h
rbadbd888 r3115355 175 175 176 176 /** Send data to another address space over IPC. 177 * - ARG1 - destination address space virtual address, may be overriden by the 178 * recipient 179 * - ARG2 - source address space virtual address 180 * - ARG3 - size of data to be copied, may be overriden by the recipient 177 * - ARG1 - source address space virtual address 178 * - ARG2 - size of data to be copied, may be overriden by the recipient 181 179 * 182 180 * on answer, the recipient must set: 183 181 * 184 182 * - ARG1 - final destination address space virtual address 185 * - ARG 3- final size of data to be copied183 * - ARG2 - final size of data to be copied 186 184 */ 187 185 #define IPC_M_DATA_WRITE 6 -
kernel/generic/src/ipc/sysipc.c
rbadbd888 r3115355 273 273 274 274 dst = IPC_GET_ARG1(answer->data); 275 size = IPC_GET_ARG 3(answer->data);276 max_size = IPC_GET_ARG 3(*olddata);275 size = IPC_GET_ARG2(answer->data); 276 max_size = IPC_GET_ARG2(*olddata); 277 277 278 278 if (size <= max_size) { … … 326 326 break; 327 327 case IPC_M_DATA_WRITE: 328 src = IPC_GET_ARG 2(call->data);329 size = IPC_GET_ARG 3(call->data);328 src = IPC_GET_ARG1(call->data); 329 size = IPC_GET_ARG2(call->data); 330 330 331 331 if ((size <= 0) || (size > DATA_XFER_LIMIT))
Note:
See TracChangeset
for help on using the changeset viewer.