Changeset 6ff23ff in mainline for kernel/generic/src/udebug/udebug_ipc.c
- Timestamp:
- 2018-05-17T13:46:56Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4f8772d4
- Parents:
- 7c3fb9b
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 18:44:36)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 13:46:56)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug_ipc.c
r7c3fb9b r6ff23ff 54 54 { 55 55 switch (IPC_GET_ARG1(call->data)) { 56 /* future UDEBUG_M_REGS_WRITE, UDEBUG_M_MEM_WRITE: */56 /* future UDEBUG_M_REGS_WRITE, UDEBUG_M_MEM_WRITE: */ 57 57 default: 58 58 break; … … 193 193 194 194 IPC_SET_RETVAL(call->data, 0); 195 /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 196 same code in process_answer() can be used 197 (no way to distinguish method in answer) */ 195 /* 196 * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 197 * same code in process_answer() can be used 198 * (no way to distinguish method in answer) 199 */ 198 200 IPC_SET_ARG1(call->data, uspace_addr); 199 201 IPC_SET_ARG2(call->data, copied); … … 238 240 239 241 IPC_SET_RETVAL(call->data, 0); 240 /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 241 same code in process_answer() can be used 242 (no way to distinguish method in answer) */ 242 /* 243 * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 244 * same code in process_answer() can be used 245 * (no way to distinguish method in answer) 246 */ 243 247 IPC_SET_ARG1(call->data, uspace_addr); 244 248 IPC_SET_ARG2(call->data, to_copy); … … 285 289 286 290 IPC_SET_RETVAL(call->data, 0); 287 /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 288 same code in process_answer() can be used 289 (no way to distinguish method in answer) */ 291 /* 292 * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 293 * same code in process_answer() can be used 294 * (no way to distinguish method in answer) 295 */ 290 296 IPC_SET_ARG1(call->data, uspace_addr); 291 297 IPC_SET_ARG2(call->data, to_copy); … … 326 332 327 333 IPC_SET_RETVAL(call->data, 0); 328 /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 329 same code in process_answer() can be used 330 (no way to distinguish method in answer) */ 334 /* 335 * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 336 * same code in process_answer() can be used 337 * (no way to distinguish method in answer) 338 */ 331 339 IPC_SET_ARG1(call->data, uspace_addr); 332 340 IPC_SET_ARG2(call->data, 6 * sizeof(sysarg_t)); … … 367 375 368 376 IPC_SET_RETVAL(call->data, 0); 369 /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 370 same code in process_answer() can be used 371 (no way to distinguish method in answer) */ 377 /* 378 * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 379 * same code in process_answer() can be used 380 * (no way to distinguish method in answer) 381 */ 372 382 IPC_SET_ARG1(call->data, uspace_addr); 373 383 IPC_SET_ARG2(call->data, to_copy); … … 406 416 407 417 IPC_SET_RETVAL(call->data, 0); 408 /* ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 409 same code in process_answer() can be used 410 (no way to distinguish method in answer) */ 418 /* 419 * ARG1=dest, ARG2=size as in IPC_M_DATA_READ so that 420 * same code in process_answer() can be used 421 * (no way to distinguish method in answer) 422 */ 411 423 IPC_SET_ARG1(call->data, uspace_dst); 412 424 IPC_SET_ARG2(call->data, size);
Note:
See TracChangeset
for help on using the changeset viewer.