Changeset ffa2c8ef in mainline for uspace/srv/hid/kbd
- Timestamp:
- 2011-01-29T11:36:08Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46b881c
- Parents:
- 64d2b10
- Location:
- uspace/srv/hid/kbd
- Files:
-
- 8 edited
-
generic/kbd.c (modified) (4 diffs)
-
port/adb.c (modified) (1 diff)
-
port/chardev.c (modified) (3 diffs)
-
port/gxemul.c (modified) (1 diff)
-
port/msim.c (modified) (1 diff)
-
port/ns16550.c (modified) (1 diff)
-
port/pl050.c (modified) (1 diff)
-
port/z8530.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/generic/kbd.c
r64d2b10 rffa2c8ef 36 36 */ 37 37 38 #include <ipc/ipc.h>39 38 #include <ipc/services.h> 40 39 #include <ipc/kbd.h> … … 173 172 int retval; 174 173 175 ipc_answer_0(iid, EOK);174 async_answer_0(iid, EOK); 176 175 177 176 while (1) { … … 180 179 case IPC_M_PHONE_HUNGUP: 181 180 if (client_phone != -1) { 182 ipc_hangup(client_phone);181 async_hangup(client_phone); 183 182 client_phone = -1; 184 183 } 185 184 186 ipc_answer_0(callid, EOK);185 async_answer_0(callid, EOK); 187 186 return; 188 187 case IPC_M_CONNECT_TO_ME: … … 205 204 retval = EINVAL; 206 205 } 207 ipc_answer_0(callid, retval);206 async_answer_0(callid, retval); 208 207 } 209 208 } -
uspace/srv/hid/kbd/port/adb.c
r64d2b10 rffa2c8ef 35 35 */ 36 36 37 #include <ipc/ipc.h>38 37 #include <ipc/adb.h> 39 38 #include <async.h> -
uspace/srv/hid/kbd/port/chardev.c
r64d2b10 rffa2c8ef 35 35 */ 36 36 37 #include <ipc/ipc.h>38 37 #include <ipc/char.h> 39 38 #include <async.h> … … 91 90 92 91 /* NB: The callback connection is slotted for removal */ 93 sysarg_t taskhash; 94 sysarg_t phonehash; 95 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) { 92 if (async_connect_to_me(dev_phone, 0, 0, 0, kbd_port_events) != 0) { 96 93 printf(NAME ": Failed to create callback from device\n"); 97 94 return -1; 98 95 } 99 100 async_new_connection(taskhash, phonehash, 0, NULL, kbd_port_events);101 96 102 97 return 0; … … 136 131 retval = ENOENT; 137 132 } 138 ipc_answer_0(callid, retval);133 async_answer_0(callid, retval); 139 134 } 140 135 } -
uspace/srv/hid/kbd/port/gxemul.c
r64d2b10 rffa2c8ef 35 35 */ 36 36 37 #include <ipc/ipc.h>38 37 #include <async.h> 39 38 #include <sysinfo.h> -
uspace/srv/hid/kbd/port/msim.c
r64d2b10 rffa2c8ef 35 35 */ 36 36 37 #include <ipc/ipc.h>38 37 #include <async.h> 39 38 #include <sysinfo.h> -
uspace/srv/hid/kbd/port/ns16550.c
r64d2b10 rffa2c8ef 35 35 */ 36 36 37 #include <ipc/ipc.h>38 37 #include <ipc/irc.h> 39 38 #include <async.h> -
uspace/srv/hid/kbd/port/pl050.c
r64d2b10 rffa2c8ef 37 37 #include <ddi.h> 38 38 #include <libarch/ddi.h> 39 #include <ipc/ipc.h>40 39 #include <async.h> 41 40 #include <unistd.h> -
uspace/srv/hid/kbd/port/z8530.c
r64d2b10 rffa2c8ef 35 35 */ 36 36 37 #include <ipc/ipc.h>38 37 #include <ipc/irc.h> 39 38 #include <async.h>
Note:
See TracChangeset
for help on using the changeset viewer.
