- Timestamp:
- 2006-04-29T22:14:01Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0bc36ba
- Parents:
- 5140e3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ns/ns.c
r5140e3e r6180b57 16 16 17 17 printf("NS:Name service started.\n"); 18 // ipc_register_irq(1); 18 19 while (1) { 19 20 callid = ipc_wait_for_call(&call, 0); 20 21 printf("NS:Call phone=%lX..", call.phoneid); 21 22 switch (IPC_GET_METHOD(call)) { 23 case IPC_M_INTERRUPT: 24 printf("GOT INTERRUPT\n"); 25 break; 22 26 case IPC_M_PHONE_HUNGUP: 23 27 printf("Phone hung up.\n"); … … 55 59 break; 56 60 } 57 ipc_answer(callid, retval, arg1, arg2); 61 if (! (callid & IPC_CALLID_NOTIFICATION)) 62 ipc_answer(callid, retval, arg1, arg2); 58 63 } 59 64 }
Note:
See TracChangeset
for help on using the changeset viewer.