Changes in uspace/srv/hw/irc/apic/apic.c [ffa2c8ef:acc7ce4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/irc/apic/apic.c
rffa2c8ef racc7ce4 36 36 */ 37 37 38 #include <ipc/ipc.h> 38 39 #include <ipc/services.h> 39 40 #include <ipc/irc.h> … … 74 75 * Answer the first IPC_M_CONNECT_ME_TO call. 75 76 */ 76 async_answer_0(iid, EOK);77 ipc_answer_0(iid, EOK); 77 78 78 79 while (true) { … … 81 82 switch (IPC_GET_IMETHOD(call)) { 82 83 case IRC_ENABLE_INTERRUPT: 83 async_answer_0(callid, apic_enable_irq(IPC_GET_ARG1(call)));84 ipc_answer_0(callid, apic_enable_irq(IPC_GET_ARG1(call))); 84 85 break; 85 86 case IRC_CLEAR_INTERRUPT: 86 87 /* Noop */ 87 async_answer_0(callid, EOK);88 ipc_answer_0(callid, EOK); 88 89 break; 89 90 default: 90 async_answer_0(callid, EINVAL);91 ipc_answer_0(callid, EINVAL); 91 92 break; 92 93 } … … 107 108 108 109 async_set_client_connection(apic_connection); 109 service_register(SERVICE_APIC); 110 sysarg_t phonead; 111 ipc_connect_to_me(PHONE_NS, SERVICE_APIC, 0, 0, &phonead); 110 112 111 113 return true;
Note:
See TracChangeset
for help on using the changeset viewer.