Changeset 007e6efa in mainline for uspace/srv/hid
- Timestamp:
- 2011-01-28T15:44:39Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4db1fbf
- Parents:
- ae0300b5
- Location:
- uspace/srv/hid
- Files:
-
- 3 edited
-
console/console.c (modified) (3 diffs)
-
fb/main.c (modified) (2 diffs)
-
kbd/generic/kbd.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/console/console.c
rae0300b5 r007e6efa 40 40 #include <ipc/fb.h> 41 41 #include <ipc/services.h> 42 #include <ipc/ns.h> 42 43 #include <errno.h> 43 44 #include <ipc/console.h> … … 762 763 763 764 /* Connect to framebuffer driver */ 764 fb_info.phone = ipc_connect_me_to_blocking(PHONE_NS,SERVICE_VIDEO, 0, 0);765 fb_info.phone = service_connect_blocking(SERVICE_VIDEO, 0, 0); 765 766 if (fb_info.phone < 0) { 766 767 printf(NAME ": Failed to connect to video service\n"); … … 838 839 839 840 /* Receive kernel notifications */ 841 async_set_interrupt_received(interrupt_received); 840 842 if (event_subscribe(EVENT_KCONSOLE, 0) != EOK) 841 843 printf(NAME ": Error registering kconsole notifications\n"); 842 843 async_set_interrupt_received(interrupt_received);844 844 845 845 return true; -
uspace/srv/hid/fb/main.c
rae0300b5 r007e6efa 29 29 #include <ipc/ipc.h> 30 30 #include <ipc/services.h> 31 #include <ipc/ns.h> 31 32 #include <sysinfo.h> 32 33 #include <async.h> … … 114 115 return -1; 115 116 116 if ( ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, NULL, NULL) != 0)117 if (service_register(SERVICE_VIDEO) != EOK) 117 118 return -1; 118 119 -
uspace/srv/hid/kbd/generic/kbd.c
rae0300b5 r007e6efa 223 223 224 224 if (cir_service) { 225 while (cir_phone < 0) { 226 cir_phone = ipc_connect_me_to_blocking(PHONE_NS, cir_service, 227 0, 0); 228 } 225 while (cir_phone < 0) 226 cir_phone = service_connect_blocking(cir_service, 0, 0); 229 227 } 230 228
Note:
See TracChangeset
for help on using the changeset viewer.
