Changeset 1641eb0 in mainline


Ignore:
Timestamp:
2009-07-22T19:08:39Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7038f55
Parents:
a5facfb
Message:

Make automatic start of BDDs and mounting of /data optional and disabled by default not to mess with people's hard drivers.

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    ra5facfb r1641eb0  
    460460% External ramdisk
    461461! [PLATFORM=sparc64] CONFIG_RD_EXTERNAL (y/n)
     462
     463% Load disk drivers on startup
     464! CONFIG_START_BD (n/y)
     465
     466% Mount /data on startup
     467! [CONFIG_START_BD=y] CONFIG_MOUNT_DATA (n/y)
  • defaults/amd64/Makefile.config

    ra5facfb r1641eb0  
    5555# Default framebuffer depth
    5656CONFIG_VESA_BPP = 16
     57
     58# Load disk drivers on startup
     59CONFIG_START_BD = n
     60
     61# Mount /data on startup
     62CONFIG_MOUNT_DATA = n
  • defaults/arm32/Makefile.config

    ra5facfb r1641eb0  
    3131# What is your output device?
    3232CONFIG_HID_OUT = generic
     33
     34# Load disk drivers on startup
     35CONFIG_START_BD = n
     36
     37# Mount /data on startup
     38CONFIG_MOUNT_DATA = n
  • defaults/ia32/Makefile.config

    ra5facfb r1641eb0  
    6161# Default framebuffer depth
    6262CONFIG_VESA_BPP = 16
     63
     64# Load disk drivers on startup
     65CONFIG_START_BD = n
     66
     67# Mount /data on startup
     68CONFIG_MOUNT_DATA = n
  • defaults/ia64/Makefile.config

    ra5facfb r1641eb0  
    4343# Output device class
    4444CONFIG_HID_OUT = generic
     45
     46# Load disk drivers on startup
     47CONFIG_START_BD = n
     48
     49# Mount /data on startup
     50CONFIG_MOUNT_DATA = n
  • defaults/mips32/Makefile.config

    ra5facfb r1641eb0  
    3737# Output device class
    3838CONFIG_HID_OUT = generic
     39
     40# Load disk drivers on startup
     41CONFIG_START_BD = n
     42
     43# Mount /data on startup
     44CONFIG_MOUNT_DATA = n
  • defaults/ppc32/Makefile.config

    ra5facfb r1641eb0  
    3737# Use Block Address Translation by the loader
    3838CONFIG_BAT = y
     39
     40# Load disk drivers on startup
     41CONFIG_START_BD = n
     42
     43# Mount /data on startup
     44CONFIG_MOUNT_DATA = n
  • defaults/sparc64/Makefile.config

    ra5facfb r1641eb0  
    5555# External ramdisk
    5656CONFIG_RD_EXTERNAL = y
     57
     58# Load disk drivers on startup
     59CONFIG_START_BD = n
     60
     61# Mount /data on startup
     62CONFIG_MOUNT_DATA = n
  • uspace/app/init/Makefile

    ra5facfb r1641eb0  
    3535include $(LIBC_PREFIX)/Makefile.toolchain
    3636
     37CFLAGS += -I../../..
    3738LIBS = $(LIBC_PREFIX)/libc.a
    3839
  • uspace/app/init/init.c

    ra5facfb r1641eb0  
    4848#include <string.h>
    4949#include <devmap.h>
     50#include <config.h>
    5051#include "init.h"
    5152
     
    242243         * non-blocking.
    243244         */
     245#ifdef CONFIG_START_BD
    244246        srv_start("/srv/ata_bd");
    245247        srv_start("/srv/gxe_bd");
    246        
     248#endif 
     249#ifdef CONFIG_MOUNT_DATA
    247250        mount_data();
    248        
     251#endif
     252
    249253        getvc("vc0", "/app/bdsh");
    250254        getvc("vc1", "/app/bdsh");
Note: See TracChangeset for help on using the changeset viewer.