1*4103857bSmartin /* $NetBSD: defsizes.h,v 1.4 2019/06/12 06:20:17 martin Exp $ */ 2352a555eSmartin 3352a555eSmartin /* 4352a555eSmartin * Copyright 2018 The NetBSD Foundation, Inc. 5352a555eSmartin * All rights reserved. 6352a555eSmartin * 7352a555eSmartin * Redistribution and use in source and binary forms, with or without 8352a555eSmartin * modification, are permitted provided that the following conditions 9352a555eSmartin * are met: 10352a555eSmartin * 1. Redistributions of source code must retain the above copyright 11352a555eSmartin * notice, this list of conditions and the following disclaimer. 12352a555eSmartin * 2. Redistributions in binary form must reproduce the above copyright 13352a555eSmartin * notice, this list of conditions and the following disclaimer in the 14352a555eSmartin * documentation and/or other materials provided with the distribution. 15352a555eSmartin * 16352a555eSmartin * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' 17352a555eSmartin * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18352a555eSmartin * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19352a555eSmartin * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE 20352a555eSmartin * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21352a555eSmartin * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22352a555eSmartin * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23352a555eSmartin * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24352a555eSmartin * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25352a555eSmartin * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 26352a555eSmartin * THE POSSIBILITY OF SUCH DAMAGE. 27352a555eSmartin * 28352a555eSmartin */ 29352a555eSmartin 30352a555eSmartin 31352a555eSmartin /* 32352a555eSmartin * The size likely needed to build the whole system from source, including 33352a555eSmartin * X, CTF, MKDEBUG, ... 34352a555eSmartin * This is used in some messages as a hint when partitioning. 35352a555eSmartin * Rough estimate, round high, in MB. 36352a555eSmartin */ 37352a555eSmartin #ifndef SYSTEM_BUILD_SIZE 38352a555eSmartin #define SYSTEM_BUILD_SIZE 15*1024 39352a555eSmartin #endif 40352a555eSmartin 41352a555eSmartin 42352a555eSmartin #ifndef DEFVARSIZE 43352a555eSmartin #define DEFVARSIZE 32 44352a555eSmartin #endif 45352a555eSmartin #ifndef DEFROOTSIZE 467a2eea57Smartin #define DEFROOTSIZE 40 47352a555eSmartin #endif 48352a555eSmartin #ifndef DEFUSRSIZE 497a2eea57Smartin #define DEFUSRSIZE 800 50352a555eSmartin #endif 51352a555eSmartin #ifndef DEFSWAPSIZE 52352a555eSmartin #define DEFSWAPSIZE 128 53352a555eSmartin #endif 54b70953c5Smartin #ifndef DEBNEEDMB 55b70953c5Smartin #define DEBNEEDMB 800 56b70953c5Smartin #endif 57*4103857bSmartin 58*4103857bSmartin #ifndef MD_SETS_SELECTED 59*4103857bSmartin #define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11, SET_MD 60*4103857bSmartin #endif 61*4103857bSmartin #ifndef MD_SETS_SELECTED_MINIMAL 62*4103857bSmartin #define MD_SETS_SELECTED_MINIMAL SET_KERNEL_1, SET_CORE 63*4103857bSmartin #endif 64*4103857bSmartin #ifndef MD_SETS_SELECTED_NOX 65*4103857bSmartin #define MD_SETS_SELECTED_NOX SET_KERNEL_1, SET_SYSTEM, SET_MD 66*4103857bSmartin #endif 67*4103857bSmartin #ifndef MD_SETS_VALID 68*4103857bSmartin #define MD_SETS_VALID SET_KERNEL, SET_SYSTEM, SET_X11, SET_MD, SET_SOURCE, SET_DEBUGGING 69*4103857bSmartin #endif 70*4103857bSmartin 71