Rev 1653 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1653 | Rev 1694 | ||
---|---|---|---|
Line 446... | Line 446... | ||
446 | 446 | ||
447 | /** Handle call that was received */ |
447 | /** Handle call that was received */ |
448 | static void handle_call(ipc_callid_t callid, ipc_call_t *call) |
448 | static void handle_call(ipc_callid_t callid, ipc_call_t *call) |
449 | { |
449 | { |
450 | /* Unrouted call - do some default behaviour */ |
450 | /* Unrouted call - do some default behaviour */ |
451 | switch (IPC_GET_METHOD(*call)) { |
451 | if ((callid & IPC_CALLID_NOTIFICATION)) { |
452 | case IPC_M_INTERRUPT: |
- | |
453 | in_interrupt_handler = 1; |
452 | in_interrupt_handler = 1; |
454 | (*interrupt_received)(callid,call); |
453 | (*interrupt_received)(callid,call); |
455 | in_interrupt_handler = 0; |
454 | in_interrupt_handler = 0; |
456 | return; |
455 | return; |
- | 456 | } |
|
- | 457 | ||
- | 458 | switch (IPC_GET_METHOD(*call)) { |
|
457 | case IPC_M_CONNECT_ME_TO: |
459 | case IPC_M_CONNECT_ME_TO: |
458 | /* Open new connection with thread etc. */ |
460 | /* Open new connection with thread etc. */ |
459 | async_new_connection(IPC_GET_ARG3(*call), callid, call, client_connection); |
461 | async_new_connection(IPC_GET_ARG3(*call), callid, call, client_connection); |
460 | return; |
462 | return; |
461 | } |
463 | } |