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