GENERIC revision 1.74
1# $NetBSD: GENERIC,v 1.74 2020/08/10 06:32:58 rin 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 -fno-omit-frame-pointer" 26 # See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for 27 # backtraces in DDB. 28 29# Need to set locally 30maxusers 32 31 32#options LEDEBUG 33 34options FPSP 35 36# Standard system options 37options USERCONF # userconf(4) support 38#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 39options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 40 41# Alternate buffer queue strategies for better responsiveness under high 42# disk I/O load. 43#options BUFQ_READPRIO 44options BUFQ_PRIOCSCAN 45 46include "conf/compat_netbsd09.config" 47 48#options SYSVSHM # System V-style shared memory 49#options SYSVSEM # System V-style semaphores 50#options SYSVMSG # System V-style message queues 51options KTRACE # system call tracing support 52#options NKMEMCLUSTERS=1024 # 4K pages in kernel malloc pool 53options COMPAT_SUNOS 54 55# Filesystems 56#file-system FFS # fast filesystem 57#file-system CD9660 # CD-ROM ISO-9660 filesystem 58file-system NFS # Network filesystem client 59#file-system UNION # Union filesystem (req. for FDESC) 60#file-system KERNFS # kernel data-structure filesystem 61#file-system FDESC # user file descriptor filesystem 62#file-system PROCFS # /proc filesystem 63#file-system MFS # Memory-based filesystem 64file-system PTYFS # /dev/pts/N support 65#file-system TMPFS # Efficient memory file-system 66#file-system UDF # experimental - OSTA UDF CD/DVD file-system 67 68# Filesystem options 69options FIFO # POSIX fifo support (in all filesystems) 70#options QUOTA # legacy UFS quotas 71#options QUOTA2 # new, in-filesystem UFS quotas 72#options NFSSERVER # Network filesystem server 73#options UFS_EXTATTR # Extended attribute support for UFS1 74 75# Networking options 76options INET # Internet protocols 77#options GATEWAY # IP forwarding 78#options MROUTING # Multicast routing 79#options PIM # Protocol Independent Multicast 80#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 81 82#options ALTQ # Manipulate network interfaces' output queues 83#options ALTQ_BLUE # Stochastic Fair Blue 84#options ALTQ_CBQ # Class-Based Queueing 85#options ALTQ_CDNR # Diffserv Traffic Conditioner 86#options ALTQ_FIFOQ # First-In First-Out Queue 87#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 88#options ALTQ_HFSC # Hierarchical Fair Service Curve 89#options ALTQ_LOCALQ # Local queueing discipline 90#options ALTQ_PRIQ # Priority Queueing 91#options ALTQ_RED # Random Early Detection 92#options ALTQ_RIO # RED with IN/OUT 93#options ALTQ_WFQ # Weighted Fair Queueing 94 95options COMPAT_M68K4K # compat. with NetBSD/m68k4k binaries 96options COMPAT_AOUT_M68K # support for NetBSD a.out executables 97 98# Debugging options 99#options DIAGNOSTIC # Extra kernel sanity checks 100#options DEBUG # Enable misc. kernel debugging code 101options DDB # Kernel Dynamic Debugger 102#options KGDB 103makeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols 104 105options NFS_BOOT_DHCP 106 107config netbsd root on ? type ? 108 109mainbus0 at root # root "bus" 110 111zsc* at mainbus0 112zstty* at zsc? channel ? 113 114le* at mainbus0 # LANCE ethernet interfaces 115 116# 117# accept filters 118pseudo-device accf_data # "dataready" accept filter 119pseudo-device accf_http # "httpready" accept filter 120 121pseudo-device pty # pseudo ptys 122#pseudo-device sl # SLIP network interfaces 123#pseudo-device ppp # PPP network interfaces 124#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 125#pseudo-device bpfilter # Berkeley packet filter 126pseudo-device carp # Common Address Redundancy Protocol 127#pseudo-device bridge # simple inter-network bridging 128#pseudo-device vnd # vnode pseudo-disks 129#options VND_COMPRESSION # compressed vnd(4) 130#pseudo-device ccd # concatenated disk devices 131#pseudo-device cgd # cryptographic disk devices 132pseudo-device loop # loopback network interface 133#pseudo-device npf # NPF packet filter 134pseudo-device clockctl # user control of clock subsystem 135pseudo-device ksyms # /dev/ksyms 136 137include "dev/veriexec.config" 138