Subversion Repositories HelenOS

Rev

Rev 1430 | Rev 1447 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1430 Rev 1445
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")) return -1;
163
    if(!sysinfo_value("fb")) {
-
 
164
        printf("Framebuffer initialization failed.\n");
-
 
165
        return -1;
164
 
166
    }
165
 
167
 
166
    if ((res = ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, &phonead)) != 0)
168
    if ((res = ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, &phonead)) != 0)
167
        return -1;
169
        return -1;
168
   
170
   
169
    init_fb();
171
    if (init_fb() != 0) {
-
 
172
        printf("Framebuffer initialization failed.\n");
-
 
173
        return -1;
-
 
174
    }
170
 
175
 
171
    async_manager();
176
    async_manager();
172
    /* Never reached */
177
    /* Never reached */
173
    return 0;
178
    return 0;
174
}
179
}