Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 1035437 in mainline


Ignore:
Timestamp:
2009-06-04T13:05:25Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
8bfe48e
Parents:
c8b9f88
Message:

keep the kernel console intact as long as it is possible (to be able to see any out-of-order errors)

Location:
uspace/srv/console
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/console/console.c

    rc8b9f88 r1035437  
    793793        }
    794794       
     795        /* Disable kernel output to the console */
     796        __SYSCALL0(SYS_DEBUG_DISABLE_CONSOLE);
     797       
    795798        /* Initialize the screen */
     799        gcons_redraw_console();
    796800        set_rgb_color(DEFAULT_FOREGROUND, DEFAULT_BACKGROUND);
    797801        screen_clear();
     
    812816        printf(NAME ": HelenOS Console service\n");
    813817       
    814         /* Disable kernel output to the console */
    815         __SYSCALL0(SYS_DEBUG_DISABLE_CONSOLE);
    816        
    817         if (!console_init()) {
    818                 __SYSCALL0(SYS_DEBUG_ENABLE_CONSOLE);
     818        if (!console_init())
    819819                return -1;
    820         }
    821820       
    822821        printf(NAME ": Accepting connections\n");
  • uspace/srv/console/gcons.c

    rc8b9f88 r1035437  
    537537        console_state[KERNEL_CONSOLE] = CONS_KERNEL;
    538538       
    539         gcons_redraw_console();
     539        vp_switch(console_vp);
    540540}
    541541
Note: See TracChangeset for help on using the changeset viewer.