Subversion Repositories HelenOS

Rev

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

Rev 4493 Rev 4494
Line 790... Line 790...
790
                return false;
790
                return false;
791
            }
791
            }
792
        }
792
        }
793
    }
793
    }
794
   
794
   
-
 
795
    /* Disable kernel output to the console */
-
 
796
    __SYSCALL0(SYS_DEBUG_DISABLE_CONSOLE);
-
 
797
   
795
    /* Initialize the screen */
798
    /* Initialize the screen */
-
 
799
    gcons_redraw_console();
796
    set_rgb_color(DEFAULT_FOREGROUND, DEFAULT_BACKGROUND);
800
    set_rgb_color(DEFAULT_FOREGROUND, DEFAULT_BACKGROUND);
797
    screen_clear();
801
    screen_clear();
798
    curs_goto(0, 0);
802
    curs_goto(0, 0);
799
    curs_visibility(active_console->scr.is_cursor_visible);
803
    curs_visibility(active_console->scr.is_cursor_visible);
800
   
804
   
Line 809... Line 813...
809
 
813
 
810
int main(int argc, char *argv[])
814
int main(int argc, char *argv[])
811
{
815
{
812
    printf(NAME ": HelenOS Console service\n");
816
    printf(NAME ": HelenOS Console service\n");
813
   
817
   
814
    /* Disable kernel output to the console */
-
 
815
    __SYSCALL0(SYS_DEBUG_DISABLE_CONSOLE);
-
 
816
   
-
 
817
    if (!console_init()) {
818
    if (!console_init())
818
        __SYSCALL0(SYS_DEBUG_ENABLE_CONSOLE);
-
 
819
        return -1;
819
        return -1;
820
    }
-
 
821
   
820
   
822
    printf(NAME ": Accepting connections\n");
821
    printf(NAME ": Accepting connections\n");
823
    async_manager();
822
    async_manager();
824
   
823
   
825
    return 0;
824
    return 0;