Changeset bf75e3cb in mainline for uspace/srv/hid
- Timestamp:
- 2011-01-26T20:22:21Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4e7d3dd, 5b7a107, 875c629
- Parents:
- a0ce870 (diff), 4fe94c66 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/srv/hid
- Files:
-
- 6 edited
-
adb_mouse/adb_dev.c (modified) (1 diff)
-
char_mouse/chardev.c (modified) (1 diff)
-
console/console.c (modified) (3 diffs)
-
fb/main.c (modified) (1 diff)
-
kbd/port/adb.c (modified) (1 diff)
-
kbd/port/chardev.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/adb_mouse/adb_dev.c
ra0ce870 rbf75e3cb 68 68 69 69 /* NB: The callback connection is slotted for removal */ 70 sysarg_t taskhash; 70 71 sysarg_t phonehash; 71 if (ipc_connect_to_me(dev_phone, 0, 0, 0, & phonehash) != 0) {72 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) { 72 73 printf(NAME ": Failed to create callback from device\n"); 73 74 return false; 74 75 } 75 76 76 async_new_connection( phonehash, 0, NULL, adb_dev_events);77 async_new_connection(taskhash, phonehash, 0, NULL, adb_dev_events); 77 78 78 79 return 0; -
uspace/srv/hid/char_mouse/chardev.c
ra0ce870 rbf75e3cb 70 70 71 71 /* NB: The callback connection is slotted for removal */ 72 sysarg_t taskhash; 72 73 sysarg_t phonehash; 73 if (ipc_connect_to_me(dev_phone, 0, 0, 0, & phonehash) != 0) {74 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) { 74 75 printf(NAME ": Failed to create callback from device\n"); 75 76 return false; 76 77 } 77 78 78 async_new_connection( phonehash, 0, NULL, chardev_events);79 async_new_connection(taskhash, phonehash, 0, NULL, chardev_events); 79 80 80 81 return 0; -
uspace/srv/hid/console/console.c
ra0ce870 rbf75e3cb 726 726 727 727 /* NB: The callback connection is slotted for removal */ 728 sysarg_t taskhash; 728 729 sysarg_t phonehash; 729 if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) { 730 if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, 0, &taskhash, 731 &phonehash) != 0) { 730 732 printf(NAME ": Failed to create callback from input device\n"); 731 733 return false; 732 734 } 733 735 734 async_new_connection( phonehash, 0, NULL, keyboard_events);736 async_new_connection(taskhash, phonehash, 0, NULL, keyboard_events); 735 737 736 738 /* Connect to mouse device */ … … 749 751 } 750 752 751 if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &phonehash) != 0) { 753 if (ipc_connect_to_me(mouse_phone, SERVICE_CONSOLE, 0, 0, &taskhash, 754 &phonehash) != 0) { 752 755 printf(NAME ": Failed to create callback from mouse device\n"); 753 756 mouse_phone = -1; … … 755 758 } 756 759 757 async_new_connection( phonehash, 0, NULL, mouse_events);760 async_new_connection(taskhash, phonehash, 0, NULL, mouse_events); 758 761 skip_mouse: 759 762 -
uspace/srv/hid/fb/main.c
ra0ce870 rbf75e3cb 114 114 return -1; 115 115 116 sysarg_t phonead; 117 if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, &phonead) != 0) 116 if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, NULL, NULL) != 0) 118 117 return -1; 119 118 -
uspace/srv/hid/kbd/port/adb.c
ra0ce870 rbf75e3cb 71 71 72 72 /* NB: The callback connection is slotted for removal */ 73 sysarg_t taskhash; 73 74 sysarg_t phonehash; 74 if (ipc_connect_to_me(dev_phone, 0, 0, 0, & phonehash) != 0) {75 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) { 75 76 printf(NAME ": Failed to create callback from device\n"); 76 77 return false; 77 78 } 78 79 79 async_new_connection( phonehash, 0, NULL, kbd_port_events);80 async_new_connection(taskhash, phonehash, 0, NULL, kbd_port_events); 80 81 81 82 return 0; -
uspace/srv/hid/kbd/port/chardev.c
ra0ce870 rbf75e3cb 91 91 92 92 /* NB: The callback connection is slotted for removal */ 93 sysarg_t taskhash; 93 94 sysarg_t phonehash; 94 if (ipc_connect_to_me(dev_phone, 0, 0, 0, & phonehash) != 0) {95 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) { 95 96 printf(NAME ": Failed to create callback from device\n"); 96 97 return -1; 97 98 } 98 99 99 async_new_connection( phonehash, 0, NULL, kbd_port_events);100 async_new_connection(taskhash, phonehash, 0, NULL, kbd_port_events); 100 101 101 102 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.
