Changeset b74959bd in mainline for uspace/app/tester/ipc
- Timestamp:
- 2007-11-20T21:33:32Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8498915
- Parents:
- 3209923
- Location:
- uspace/app/tester/ipc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/ipc/answer.c
r3209923 rb74959bd 47 47 } 48 48 if (!cnt) 49 return ;49 return NULL; 50 50 printf("Choose message:\n"); 51 51 do { … … 70 70 errn = ENOENT; 71 71 printf("Answering %P\n", callids[i]); 72 ipc_answer_ fast(callids[i], errn, 0, 0);72 ipc_answer_0(callids[i], errn); 73 73 callids[i] = 0; 74 74 -
uspace/app/tester/ipc/register.c
r3209923 rb74959bd 30 30 #include <unistd.h> 31 31 #include <async.h> 32 #include <errno.h> 32 33 #include "../tester.h" 33 34 … … 41 42 42 43 printf("Connected phone: %P, accepting\n", icall->in_phone_hash); 43 ipc_answer_ fast(iid, 0, 0, 0);44 ipc_answer_0(iid, EOK); 44 45 for (i = 0; i < 1024; i++) 45 46 if (!connections[i]) { … … 56 57 break; 57 58 default: 58 printf("Received message from %P: %X\n", phonehash,callid); 59 printf("Received message from %P: %X\n", phonehash, 60 callid); 59 61 for (i = 0; i < 1024; i++) 60 62 if (!callids[i]) { … … 64 66 continue; 65 67 } 66 ipc_answer_ fast(callid, retval, 0, 0);68 ipc_answer_0(callid, retval); 67 69 } 68 70 } -
uspace/app/tester/ipc/send_async.c
r3209923 rb74959bd 39 39 { 40 40 int phoneid; 41 int res;42 41 static int msgid = 1; 43 42 char c;
Note:
See TracChangeset
for help on using the changeset viewer.