GENERIC revision 1.70
1# $NetBSD: GENERIC,v 1.70 2018/08/01 20:04:10 maxv 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# Alternate buffer queue strategies for better responsiveness under high 40# disk I/O load. 41#options BUFQ_READPRIO 42#options BUFQ_PRIOCSCAN 43 44include "conf/compat_netbsd09.config" 45 46#options SYSVSHM # System V-style shared memory 47#options SYSVSEM # System V-style semaphores 48#options SYSVMSG # System V-style message queues 49options KTRACE # system call tracing support 50#options NKMEMCLUSTERS=1024 # 4K pages in kernel malloc pool 51options COMPAT_SUNOS 52 53# Filesystems 54#file-system FFS # fast filesystem 55#file-system CD9660 # CD-ROM ISO-9660 filesystem 56file-system NFS # Network filesystem client 57#file-system UNION # Union filesystem (req. for FDESC) 58#file-system KERNFS # kernel data-structure filesystem 59#file-system FDESC # user file descriptor filesystem 60#file-system PROCFS # /proc filesystem 61#file-system MFS # Memory-based filesystem 62file-system PTYFS # /dev/pts/N support 63#file-system TMPFS # Efficient memory file-system 64#file-system UDF # experimental - OSTA UDF CD/DVD file-system 65 66# Filesystem options 67options FIFO # POSIX fifo support (in all filesystems) 68#options QUOTA # legacy UFS quotas 69#options QUOTA2 # new, in-filesystem UFS quotas 70#options NFSSERVER # Network filesystem server 71#options UFS_EXTATTR # Extended attribute support for UFS1 72 73# Networking options 74options INET # Internet protocols 75#options GATEWAY # IP forwarding 76#options MROUTING # Multicast routing 77#options PIM # Protocol Independent Multicast 78#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 79 80#options ALTQ # Manipulate network interfaces' output queues 81#options ALTQ_BLUE # Stochastic Fair Blue 82#options ALTQ_CBQ # Class-Based Queueing 83#options ALTQ_CDNR # Diffserv Traffic Conditioner 84#options ALTQ_FIFOQ # First-In First-Out Queue 85#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 86#options ALTQ_HFSC # Hierarchical Fair Service Curve 87#options ALTQ_LOCALQ # Local queueing discipline 88#options ALTQ_PRIQ # Priority Queueing 89#options ALTQ_RED # Random Early Detection 90#options ALTQ_RIO # RED with IN/OUT 91#options ALTQ_WFQ # Weighted Fair Queueing 92 93# This option enables a different copyin/copyout that uses page 94# mapping for large copies. 95#options MAPPEDCOPY # different copyin/copyout for large copies 96 97options COMPAT_M68K4K # compat. with NetBSD/m68k4k binaries 98options COMPAT_AOUT_M68K # support for NetBSD a.out executables 99 100# Debugging options 101#options DIAGNOSTIC # Extra kernel sanity checks 102#options DEBUG # Enable misc. kernel debugging code 103options DDB # Kernel Dynamic Debugger 104#options KGDB 105makeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols 106 107options NFS_BOOT_DHCP 108 109config netbsd root on ? type ? 110 111mainbus0 at root # root "bus" 112 113zsc* at mainbus0 114zstty* at zsc? channel ? 115 116le* at mainbus0 # LANCE ethernet interfaces 117 118# 119# accept filters 120pseudo-device accf_data # "dataready" accept filter 121pseudo-device accf_http # "httpready" accept filter 122 123pseudo-device pty # pseudo ptys 124#pseudo-device sl # SLIP network interfaces 125#pseudo-device ppp # PPP network interfaces 126#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 127#pseudo-device bpfilter # Berkeley packet filter 128#pseudo-device carp # Common Address Redundancy Protocol 129#pseudo-device bridge # simple inter-network bridging 130#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 131#pseudo-device vnd # vnode pseudo-disks 132#options VND_COMPRESSION # compressed vnd(4) 133#pseudo-device ccd # concatenated disk devices 134#pseudo-device cgd # cryptographic disk devices 135pseudo-device loop # loopback network interface 136#pseudo-device npf # NPF packet filter 137pseudo-device clockctl # user control of clock subsystem 138pseudo-device ksyms # /dev/ksyms 139 140# Veriexec 141# 142# a pseudo device needed for veriexec 143#pseudo-device veriexec 144# 145# Uncomment the fingerprint methods below that are desired. Note that 146# removing fingerprint methods will have almost no impact on the kernel 147# code size. 148# 149#options VERIFIED_EXEC_FP_SHA256 150#options VERIFIED_EXEC_FP_SHA384 151#options VERIFIED_EXEC_FP_SHA512 152