GENERIC revision 1.67
1# $NetBSD: GENERIC,v 1.67 2017/09/13 22:24:43 sevan Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21include "arch/cesfic/conf/std.cesfic" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk 26 27# Need to set locally 28maxusers 32 29 30#options LEDEBUG 31 32options FPSP 33 34# Standard system options 35options USERCONF # userconf(4) support 36#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 37options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 38 39# Enable experimental buffer queue strategy for better responsiveness under 40# high disk I/O load. Use it with caution - it's not proven to be stable yet. 41#options BUFQ_READPRIO 42#options BUFQ_PRIOCSCAN 43 44options COMPAT_43 # compatibility with 4.3BSD interfaces 45options COMPAT_44 # compatibility with 4.4BSD binaries 46options COMPAT_09 # NetBSD 0.9, 47options COMPAT_10 # NetBSD 1.0, 48options COMPAT_11 # NetBSD 1.1, 49options COMPAT_12 # NetBSD 1.2, 50options COMPAT_13 # NetBSD 1.3, 51options COMPAT_14 # NetBSD 1.4, 52options COMPAT_15 # NetBSD 1.5, 53options COMPAT_16 # NetBSD 1.6, 54options COMPAT_20 # NetBSD 2.0, 55options COMPAT_30 # NetBSD 3.0, 56options COMPAT_40 # NetBSD 4.0, 57options COMPAT_50 # NetBSD 5.0, 58options COMPAT_60 # NetBSD 6.0, and 59options COMPAT_70 # NetBSD 7.0 binary compatibility. 60#options SYSVSHM # System V-style shared memory 61#options SYSVSEM # System V-style semaphores 62#options SYSVMSG # System V-style message queues 63options KTRACE # system call tracing support 64#options NKMEMCLUSTERS=1024 # 4K pages in kernel malloc pool 65options COMPAT_SUNOS 66options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 67 68# Filesystems 69#file-system FFS # fast filesystem 70#file-system CD9660 # CD-ROM ISO-9660 filesystem 71file-system NFS # Network filesystem client 72#file-system UNION # Union filesystem (req. for FDESC) 73#file-system KERNFS # kernel data-structure filesystem 74#file-system FDESC # user file descriptor filesystem 75#file-system PROCFS # /proc filesystem 76#file-system MFS # Memory-based filesystem 77file-system PTYFS # /dev/pts/N support 78#file-system TMPFS # Efficient memory file-system 79#file-system UDF # experimental - OSTA UDF CD/DVD file-system 80 81# Filesystem options 82options FIFO # POSIX fifo support (in all filesystems) 83#options QUOTA # legacy UFS quotas 84#options QUOTA2 # new, in-filesystem UFS quotas 85#options NFSSERVER # Network filesystem server 86#options UFS_EXTATTR # Extended attribute support for UFS1 87 88# Networking options 89options INET # Internet protocols 90#options GATEWAY # IP forwarding 91#options MROUTING # Multicast routing 92#options PIM # Protocol Independent Multicast 93#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 94 95#options ALTQ # Manipulate network interfaces' output queues 96#options ALTQ_BLUE # Stochastic Fair Blue 97#options ALTQ_CBQ # Class-Based Queueing 98#options ALTQ_CDNR # Diffserv Traffic Conditioner 99#options ALTQ_FIFOQ # First-In First-Out Queue 100#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 101#options ALTQ_HFSC # Hierarchical Fair Service Curve 102#options ALTQ_LOCALQ # Local queueing discipline 103#options ALTQ_PRIQ # Priority Queueing 104#options ALTQ_RED # Random Early Detection 105#options ALTQ_RIO # RED with IN/OUT 106#options ALTQ_WFQ # Weighted Fair Queueing 107 108# This option enables a different copyin/copyout that uses page 109# mapping for large copies. 110#options MAPPEDCOPY # different copyin/copyout for large copies 111 112options COMPAT_M68K4K # compat. with NetBSD/m68k4k binaries 113options COMPAT_AOUT_M68K # support for NetBSD a.out executables 114 115# Debugging options 116#options DIAGNOSTIC # Extra kernel sanity checks 117#options DEBUG # Enable misc. kernel debugging code 118options DDB # Kernel Dynamic Debugger 119#options KGDB 120makeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols 121 122options NFS_BOOT_DHCP 123 124config netbsd root on ? type ? 125 126mainbus0 at root # root "bus" 127 128zsc* at mainbus0 129zstty* at zsc? channel ? 130 131le* at mainbus0 # LANCE ethernet interfaces 132 133# 134# accept filters 135pseudo-device accf_data # "dataready" accept filter 136pseudo-device accf_http # "httpready" accept filter 137 138pseudo-device pty # pseudo ptys 139#pseudo-device sl # SLIP network interfaces 140#pseudo-device ppp # PPP network interfaces 141#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 142#pseudo-device bpfilter # Berkeley packet filter 143#pseudo-device carp # Common Address Redundancy Protocol 144#pseudo-device bridge # simple inter-network bridging 145#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 146#pseudo-device vnd # vnode pseudo-disks 147#options VND_COMPRESSION # compressed vnd(4) 148#pseudo-device ccd # concatenated disk devices 149#pseudo-device cgd # cryptographic disk devices 150pseudo-device loop # loopback network interface 151#pseudo-device ipfilter # IP Filter package 152pseudo-device clockctl # user control of clock subsystem 153pseudo-device ksyms # /dev/ksyms 154#pseudo-device pf # PF packet filter 155#pseudo-device pflog # PF log if 156 157# Veriexec 158# 159# a pseudo device needed for veriexec 160#pseudo-device veriexec 161# 162# Uncomment the fingerprint methods below that are desired. Note that 163# removing fingerprint methods will have almost no impact on the kernel 164# code size. 165# 166#options VERIFIED_EXEC_FP_SHA256 167#options VERIFIED_EXEC_FP_SHA384 168#options VERIFIED_EXEC_FP_SHA512 169