1 1.70 maxv # $NetBSD: GENERIC,v 1.70 2018/08/01 20:04:10 maxv Exp $ 2 1.1 drochner # 3 1.7 gmcgarry # GENERIC machine description file 4 1.7 gmcgarry # 5 1.7 gmcgarry # This machine description file is used to generate the default NetBSD 6 1.7 gmcgarry # kernel. The generic kernel does not include all options, subsystems 7 1.7 gmcgarry # and device drivers, but should be useful for most applications. 8 1.1 drochner # 9 1.7 gmcgarry # The machine description file can be customised for your specific 10 1.7 gmcgarry # machine to reduce the kernel size and improve its performance. 11 1.7 gmcgarry # 12 1.7 gmcgarry # For further information on compiling NetBSD kernels, see the config(8) 13 1.7 gmcgarry # man page. 14 1.7 gmcgarry # 15 1.7 gmcgarry # For further information on hardware support for this architecture, see 16 1.7 gmcgarry # the intro(4) man page. For further information about kernel options 17 1.7 gmcgarry # for this architecture, see the options(4) man page. For an explanation 18 1.7 gmcgarry # of each device driver in this file see the section 4 man page for the 19 1.7 gmcgarry # device. 20 1.1 drochner 21 1.7 gmcgarry include "arch/cesfic/conf/std.cesfic" 22 1.11 atatat 23 1.11 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 1.1 drochner 25 1.61 tsutsui makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk 26 1.61 tsutsui 27 1.1 drochner # Need to set locally 28 1.1 drochner maxusers 32 29 1.1 drochner 30 1.6 lukem #options LEDEBUG 31 1.1 drochner 32 1.6 lukem options FPSP 33 1.9 jdolecek 34 1.1 drochner # Standard system options 35 1.13 lukem options USERCONF # userconf(4) support 36 1.9 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 37 1.26 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 38 1.16 junyoung 39 1.69 sevan # Alternate buffer queue strategies for better responsiveness under high 40 1.69 sevan # disk I/O load. 41 1.30 tsutsui #options BUFQ_READPRIO 42 1.30 tsutsui #options BUFQ_PRIOCSCAN 43 1.9 jdolecek 44 1.68 mrg include "conf/compat_netbsd09.config" 45 1.68 mrg 46 1.1 drochner #options SYSVSHM # System V-style shared memory 47 1.1 drochner #options SYSVSEM # System V-style semaphores 48 1.1 drochner #options SYSVMSG # System V-style message queues 49 1.1 drochner options KTRACE # system call tracing support 50 1.1 drochner #options NKMEMCLUSTERS=1024 # 4K pages in kernel malloc pool 51 1.6 lukem options COMPAT_SUNOS 52 1.1 drochner 53 1.1 drochner # Filesystems 54 1.1 drochner #file-system FFS # fast filesystem 55 1.1 drochner #file-system CD9660 # CD-ROM ISO-9660 filesystem 56 1.1 drochner file-system NFS # Network filesystem client 57 1.1 drochner #file-system UNION # Union filesystem (req. for FDESC) 58 1.1 drochner #file-system KERNFS # kernel data-structure filesystem 59 1.1 drochner #file-system FDESC # user file descriptor filesystem 60 1.1 drochner #file-system PROCFS # /proc filesystem 61 1.1 drochner #file-system MFS # Memory-based filesystem 62 1.36 christos file-system PTYFS # /dev/pts/N support 63 1.46 jmmv #file-system TMPFS # Efficient memory file-system 64 1.40 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system 65 1.1 drochner 66 1.1 drochner # Filesystem options 67 1.1 drochner options FIFO # POSIX fifo support (in all filesystems) 68 1.54 bouyer #options QUOTA # legacy UFS quotas 69 1.54 bouyer #options QUOTA2 # new, in-filesystem UFS quotas 70 1.1 drochner #options NFSSERVER # Network filesystem server 71 1.64 manu #options UFS_EXTATTR # Extended attribute support for UFS1 72 1.1 drochner 73 1.1 drochner # Networking options 74 1.1 drochner options INET # Internet protocols 75 1.53 joerg #options GATEWAY # IP forwarding 76 1.6 lukem #options MROUTING # Multicast routing 77 1.27 manu #options PIM # Protocol Independent Multicast 78 1.3 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 79 1.1 drochner 80 1.24 abs #options ALTQ # Manipulate network interfaces' output queues 81 1.24 abs #options ALTQ_BLUE # Stochastic Fair Blue 82 1.24 abs #options ALTQ_CBQ # Class-Based Queueing 83 1.24 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner 84 1.24 abs #options ALTQ_FIFOQ # First-In First-Out Queue 85 1.24 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 86 1.24 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve 87 1.24 abs #options ALTQ_LOCALQ # Local queueing discipline 88 1.24 abs #options ALTQ_PRIQ # Priority Queueing 89 1.24 abs #options ALTQ_RED # Random Early Detection 90 1.24 abs #options ALTQ_RIO # RED with IN/OUT 91 1.24 abs #options ALTQ_WFQ # Weighted Fair Queueing 92 1.24 abs 93 1.1 drochner # This option enables a different copyin/copyout that uses page 94 1.1 drochner # mapping for large copies. 95 1.1 drochner #options MAPPEDCOPY # different copyin/copyout for large copies 96 1.1 drochner 97 1.1 drochner options COMPAT_M68K4K # compat. with NetBSD/m68k4k binaries 98 1.4 chs options COMPAT_AOUT_M68K # support for NetBSD a.out executables 99 1.1 drochner 100 1.1 drochner # Debugging options 101 1.38 chs #options DIAGNOSTIC # Extra kernel sanity checks 102 1.38 chs #options DEBUG # Enable misc. kernel debugging code 103 1.1 drochner options DDB # Kernel Dynamic Debugger 104 1.6 lukem #options KGDB 105 1.1 drochner makeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols 106 1.1 drochner 107 1.6 lukem options NFS_BOOT_DHCP 108 1.1 drochner 109 1.1 drochner config netbsd root on ? type ? 110 1.1 drochner 111 1.1 drochner mainbus0 at root # root "bus" 112 1.1 drochner 113 1.1 drochner zsc* at mainbus0 114 1.1 drochner zstty* at zsc? channel ? 115 1.1 drochner 116 1.1 drochner le* at mainbus0 # LANCE ethernet interfaces 117 1.1 drochner 118 1.50 tls # 119 1.50 tls # accept filters 120 1.50 tls pseudo-device accf_data # "dataready" accept filter 121 1.50 tls pseudo-device accf_http # "httpready" accept filter 122 1.50 tls 123 1.58 christos pseudo-device pty # pseudo ptys 124 1.42 cube #pseudo-device sl # SLIP network interfaces 125 1.42 cube #pseudo-device ppp # PPP network interfaces 126 1.8 martin #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 127 1.41 rpaulo #pseudo-device bpfilter # Berkeley packet filter 128 1.43 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol 129 1.5 atatat #pseudo-device bridge # simple inter-network bridging 130 1.18 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 131 1.42 cube #pseudo-device vnd # vnode pseudo-disks 132 1.32 hubertf #options VND_COMPRESSION # compressed vnd(4) 133 1.58 christos #pseudo-device ccd # concatenated disk devices 134 1.58 christos #pseudo-device cgd # cryptographic disk devices 135 1.1 drochner pseudo-device loop # loopback network interface 136 1.70 maxv #pseudo-device npf # NPF packet filter 137 1.12 lukem pseudo-device clockctl # user control of clock subsystem 138 1.19 ragge pseudo-device ksyms # /dev/ksyms 139 1.39 elad 140 1.39 elad # Veriexec 141 1.39 elad # 142 1.39 elad # a pseudo device needed for veriexec 143 1.59 christos #pseudo-device veriexec 144 1.39 elad # 145 1.39 elad # Uncomment the fingerprint methods below that are desired. Note that 146 1.39 elad # removing fingerprint methods will have almost no impact on the kernel 147 1.39 elad # code size. 148 1.39 elad # 149 1.39 elad #options VERIFIED_EXEC_FP_SHA256 150 1.39 elad #options VERIFIED_EXEC_FP_SHA384 151 1.39 elad #options VERIFIED_EXEC_FP_SHA512 152