Changeset c9f5e238 in mainline


Ignore:
Timestamp:
2011-03-26T09:56:22Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
291b8bc, aee6c73, cee51fd
Parents:
ea696998
Message:

devman in kconsole fixes

It seems better to launch devman later to prevent overflooding klog.

On real machine, the devman is way to quick and more pages are needed to
allow /app/klog read everything.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/console.c

    rea696998 rc9f5e238  
    5353#include <str.h>
    5454
     55/*
     56 * devman produces a lot of output and by giving so many pages
     57 * we to allow /app/klog to catch-up.
     58 */
     59#ifdef CONFIG_DEVMAN_EARLY_LAUNCH
     60#define KLOG_PAGES    64
     61#else
    5562#define KLOG_PAGES    4
     63#endif
     64
    5665#define KLOG_LENGTH   (KLOG_PAGES * PAGE_SIZE / sizeof(wchar_t))
    5766#define KLOG_LATENCY  8
  • uspace/app/init/init.c

    rea696998 rc9f5e238  
    288288       
    289289        spawn("/srv/clip");
    290 
    291 #ifdef CONFIG_DEVMAN_EARLY_LAUNCH
    292         spawn("/srv/devman");
    293 #endif
    294290       
    295291        /*
     
    318314        getterm("term/vc6", "/app/klog", false);
    319315
    320 #ifndef CONFIG_DEVMAN_EARLY_LAUNCH
     316#ifdef CONFIG_DEVMAN_EARLY_LAUNCH
     317        spawn("/srv/devman");
     318#else
    321319        getterm("term/vc7", "/srv/devman", false);
    322320#endif
Note: See TracChangeset for help on using the changeset viewer.