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