Rev 1445 | Rev 1451 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1445 | Rev 1447 | ||
---|---|---|---|
Line 158... | Line 158... | ||
158 | int c; |
158 | int c; |
159 | ipcarg_t phonead; |
159 | ipcarg_t phonead; |
160 | 160 | ||
161 | ipcarg_t retval, arg1, arg2; |
161 | ipcarg_t retval, arg1, arg2; |
162 | 162 | ||
163 | if(!sysinfo_value("fb")) { |
163 | if(!sysinfo_value("fb")) |
164 | printf("Framebuffer initialization failed.\n"); |
- | |
165 | return -1; |
164 | return -1; |
166 | } |
- | |
167 | 165 | ||
168 | if ((res = ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, &phonead)) != 0) |
166 | if ((res = ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, &phonead)) != 0) |
169 | return -1; |
167 | return -1; |
170 | 168 | ||
171 | if (init_fb() != 0) { |
169 | if (init_fb() != 0) |
172 | printf("Framebuffer initialization failed.\n"); |
- | |
173 | return -1; |
170 | return -1; |
174 | } |
- | |
175 | 171 | ||
176 | async_manager(); |
172 | async_manager(); |
177 | /* Never reached */ |
173 | /* Never reached */ |
178 | return 0; |
174 | return 0; |
179 | } |
175 | } |