Home | History | Annotate | Line # | Download | only in sysinst
defsizes.h revision 1.3.4.3
      1  1.3.4.3    martin /*	$NetBSD: defsizes.h,v 1.3.4.3 2020/04/13 08:06:00 martin Exp $	*/
      2  1.3.4.2  christos 
      3  1.3.4.2  christos /*
      4  1.3.4.2  christos  * Copyright 2018 The NetBSD Foundation, Inc.
      5  1.3.4.2  christos  * All rights reserved.
      6  1.3.4.2  christos  *
      7  1.3.4.2  christos  * Redistribution and use in source and binary forms, with or without
      8  1.3.4.2  christos  * modification, are permitted provided that the following conditions
      9  1.3.4.2  christos  * are met:
     10  1.3.4.2  christos  * 1. Redistributions of source code must retain the above copyright
     11  1.3.4.2  christos  *    notice, this list of conditions and the following disclaimer.
     12  1.3.4.2  christos  * 2. Redistributions in binary form must reproduce the above copyright
     13  1.3.4.2  christos  *    notice, this list of conditions and the following disclaimer in the
     14  1.3.4.2  christos  *    documentation and/or other materials provided with the distribution.
     15  1.3.4.2  christos  *
     16  1.3.4.2  christos  * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
     17  1.3.4.2  christos  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     18  1.3.4.2  christos  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     19  1.3.4.2  christos  * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
     20  1.3.4.2  christos  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     21  1.3.4.2  christos  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     22  1.3.4.2  christos  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     23  1.3.4.2  christos  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     24  1.3.4.2  christos  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     25  1.3.4.2  christos  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
     26  1.3.4.2  christos  * THE POSSIBILITY OF SUCH DAMAGE.
     27  1.3.4.2  christos  *
     28  1.3.4.2  christos  */
     29  1.3.4.2  christos 
     30  1.3.4.2  christos 
     31  1.3.4.2  christos /*
     32  1.3.4.2  christos  * The size likely needed to build the whole system from source, including
     33  1.3.4.2  christos  * X, CTF, MKDEBUG, ...
     34  1.3.4.2  christos  * This is used in some messages as a hint when partitioning.
     35  1.3.4.2  christos  * Rough estimate, round high, in MB.
     36  1.3.4.2  christos  */
     37  1.3.4.2  christos #ifndef SYSTEM_BUILD_SIZE
     38  1.3.4.2  christos #define	SYSTEM_BUILD_SIZE	15*1024
     39  1.3.4.2  christos #endif
     40  1.3.4.2  christos 
     41  1.3.4.2  christos 
     42  1.3.4.2  christos #ifndef DEFVARSIZE
     43  1.3.4.2  christos #define DEFVARSIZE	32
     44  1.3.4.2  christos #endif
     45  1.3.4.2  christos #ifndef DEFROOTSIZE
     46  1.3.4.2  christos #define DEFROOTSIZE	40
     47  1.3.4.2  christos #endif
     48  1.3.4.2  christos #ifndef DEFUSRSIZE
     49  1.3.4.2  christos #define DEFUSRSIZE	800
     50  1.3.4.2  christos #endif
     51  1.3.4.2  christos #ifndef DEFSWAPSIZE
     52  1.3.4.2  christos #define DEFSWAPSIZE	128
     53  1.3.4.2  christos #endif
     54  1.3.4.2  christos #ifndef	DEBNEEDMB
     55  1.3.4.2  christos #define	DEBNEEDMB	800
     56  1.3.4.2  christos #endif
     57  1.3.4.3    martin 
     58  1.3.4.3    martin #ifndef MD_SETS_SELECTED
     59  1.3.4.3    martin #define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11, SET_MD
     60  1.3.4.3    martin #endif
     61  1.3.4.3    martin #ifndef MD_SETS_SELECTED_MINIMAL
     62  1.3.4.3    martin #define MD_SETS_SELECTED_MINIMAL SET_KERNEL_1, SET_CORE
     63  1.3.4.3    martin #endif
     64  1.3.4.3    martin #ifndef MD_SETS_SELECTED_NOX
     65  1.3.4.3    martin #define MD_SETS_SELECTED_NOX SET_KERNEL_1, SET_SYSTEM, SET_MD
     66  1.3.4.3    martin #endif
     67  1.3.4.3    martin #ifndef MD_SETS_VALID
     68  1.3.4.3    martin #define MD_SETS_VALID SET_KERNEL, SET_SYSTEM, SET_X11, SET_MD, SET_SOURCE, SET_DEBUGGING
     69  1.3.4.3    martin #endif
     70  1.3.4.3    martin 
     71