Changeset ffa2c8ef in mainline for uspace/srv/hw/irc/i8259/i8259.c
- Timestamp:
- 2011-01-29T11:36:08Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46b881c
- Parents:
- 64d2b10
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/irc/i8259/i8259.c
r64d2b10 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 }
Note:
See TracChangeset
for help on using the changeset viewer.