Changeset 854387b in mainline
- Timestamp:
- 2006-05-29T13:58:23Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f25b73d6
- Parents:
- 51c1b003
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
console/console.c
r51c1b003 r854387b 85 85 printf("%s: Push char '%c'.\n", NAME, IPC_GET_ARG1(call)); 86 86 retval = 0; 87 87 88 break; 88 89 default: -
fb/fb.c
r51c1b003 r854387b 161 161 ipcarg_t retval, arg1, arg2; 162 162 163 if(!sysinfo_value("fb")) { 164 printf("Framebuffer initialization failed.\n"); 163 if(!sysinfo_value("fb")) 165 164 return -1; 166 }167 165 168 166 if ((res = ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, &phonead)) != 0) 169 167 return -1; 170 168 171 if (init_fb() != 0) { 172 printf("Framebuffer initialization failed.\n"); 169 if (init_fb() != 0) 173 170 return -1; 174 }175 171 176 172 async_manager(); -
kbd/generic/kbd.c
r51c1b003 r854387b 40 40 41 41 #define NAME "KBD" 42 void hello(void *private, int retval, ipc_call_t *data) { 43 printf("%s: got answer from console with retval %d.\n", NAME, retval); 44 } 42 45 43 int main(int argc, char **argv) 46 44 { … … 115 113 } 116 114 /*FIXME: detection of closed connection */ 117 ipc_call_async(phoneid, KBD_PUSHCHAR, arg1, 0, &hello);115 ipc_call_async(phoneid, KBD_PUSHCHAR, arg1, 0, NULL); 118 116 } 119 117
Note:
See TracChangeset
for help on using the changeset viewer.