Changes in uspace/srv/hw/irc/i8259/i8259.c [ffa2c8ef:acc7ce4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/irc/i8259/i8259.c
rffa2c8ef racc7ce4 36 36 */ 37 37 38 #include <ipc/ipc.h> 38 39 #include <ipc/services.h> 39 40 #include <ipc/irc.h> … … 108 109 * Answer the first IPC_M_CONNECT_ME_TO call. 109 110 */ 110 async_answer_0(iid, EOK);111 ipc_answer_0(iid, EOK); 111 112 112 113 while (true) { … … 115 116 switch (IPC_GET_IMETHOD(call)) { 116 117 case IRC_ENABLE_INTERRUPT: 117 async_answer_0(callid, pic_enable_irq(IPC_GET_ARG1(call)));118 ipc_answer_0(callid, pic_enable_irq(IPC_GET_ARG1(call))); 118 119 break; 119 120 case IRC_CLEAR_INTERRUPT: 120 121 /* Noop */ 121 async_answer_0(callid, EOK);122 ipc_answer_0(callid, EOK); 122 123 break; 123 124 default: 124 async_answer_0(callid, EINVAL);125 ipc_answer_0(callid, EINVAL); 125 126 break; 126 127 } … … 149 150 150 151 async_set_client_connection(i8259_connection); 151 service_register(SERVICE_I8259); 152 sysarg_t phonead; 153 ipc_connect_to_me(PHONE_NS, SERVICE_I8259, 0, 0, &phonead); 152 154 153 155 return true;
Note:
See TracChangeset
for help on using the changeset viewer.