Subversion Repositories HelenOS

Rev

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

Rev 4339 Rev 4341
Line 498... Line 498...
498
    int i;
498
    int i;
499
   
499
   
500
    async_set_client_connection(client_connection);
500
    async_set_client_connection(client_connection);
501
   
501
   
502
    /* Connect to keyboard driver */
502
    /* Connect to keyboard driver */
503
   
-
 
504
    kbd_phone = ipc_connect_me_to(PHONE_NS, SERVICE_KEYBOARD, 0, 0);
503
    kbd_phone = ipc_connect_me_to(PHONE_NS, SERVICE_KEYBOARD, 0, 0);
505
    while (kbd_phone < 0) {
504
    while (kbd_phone < 0) {
506
        usleep(10000);
505
        usleep(10000);
507
        kbd_phone = ipc_connect_me_to(PHONE_NS, SERVICE_KEYBOARD, 0, 0);
506
        kbd_phone = ipc_connect_me_to(PHONE_NS, SERVICE_KEYBOARD, 0, 0);
508
    }
507
    }
Line 516... Line 515...
516
    while (fb_info.phone < 0) {
515
    while (fb_info.phone < 0) {
517
        usleep(10000);
516
        usleep(10000);
518
        fb_info.phone = ipc_connect_me_to(PHONE_NS, SERVICE_VIDEO, 0, 0);
517
        fb_info.phone = ipc_connect_me_to(PHONE_NS, SERVICE_VIDEO, 0, 0);
519
    }
518
    }
520
   
519
   
-
 
520
    /* Disable kernel output to the console */
-
 
521
    __SYSCALL0(SYS_DEBUG_DISABLE_CONSOLE);
-
 
522
   
521
    /* Initialize gcons */
523
    /* Initialize gcons */
522
    gcons_init(fb_info.phone);
524
    gcons_init(fb_info.phone);
523
    /* Synchronize, the gcons can have something in queue */
525
    /* Synchronize, the gcons can have something in queue */
524
    async_req_0_0(fb_info.phone, FB_FLUSH);
526
    async_req_0_0(fb_info.phone, FB_FLUSH);
525
   
527
   
Line 585... Line 587...
585
    // printf(NAME ": Accepting connections\n");
587
    // printf(NAME ": Accepting connections\n");
586
    async_manager();
588
    async_manager();
587
   
589
   
588
    return 0;
590
    return 0;
589
}
591
}
590
 
592
 
591
/** @}
593
/** @}
592
 */
594
 */