1 # $NetBSD: GENERIC,v 1.79 2026/08/05 01:01:46 thorpej 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 21 include "arch/cesfic/conf/std.cesfic" 22 23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25 makeoptions 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 30 maxusers 32 31 32 #options LEDEBUG 33 34 # Standard system options 35 options USERCONF # userconf(4) support 36 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 37 options 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 44 include "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 49 options KTRACE # system call tracing support 50 #options NKMEMCLUSTERS=1024 # 4K pages in kernel malloc pool 51 options COMPAT_SUNOS 52 53 # Filesystems 54 #file-system FFS # fast filesystem 55 #file-system CD9660 # CD-ROM ISO-9660 filesystem 56 file-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 62 file-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 # File system options 67 #options QUOTA # legacy UFS quotas 68 #options QUOTA2 # new, in-filesystem UFS quotas 69 #options UFS_DIRHASH # UFS Large Directory Hashing 70 #options UFS_EXTATTR # Extended attribute support for UFS1 71 #options NFSSERVER # Network File System server 72 73 # Networking options 74 options 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 options COMPAT_M68K4K # compat. with NetBSD/m68k4k binaries 94 options COMPAT_AOUT_M68K # support for NetBSD a.out executables 95 96 # Debugging options 97 #options DIAGNOSTIC # Extra kernel sanity checks 98 #options DEBUG # Enable misc. kernel debugging code 99 options DDB # Kernel Dynamic Debugger 100 #options KGDB 101 makeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols 102 103 options NFS_BOOT_DHCP 104 105 config netbsd root on ? type ? 106 107 mainbus0 at root # root "bus" 108 109 zsc* at mainbus0 110 zstty* at zsc? channel ? 111 112 le* at mainbus0 # LANCE ethernet interfaces 113 114 # 115 # accept filters 116 pseudo-device accf_data # "dataready" accept filter 117 pseudo-device accf_http # "httpready" accept filter 118 119 pseudo-device pty # pseudo ptys 120 #pseudo-device sl # SLIP network interfaces 121 #pseudo-device ppp # PPP network interfaces 122 #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 123 #pseudo-device bpfilter # Berkeley packet filter 124 pseudo-device carp # Common Address Redundancy Protocol 125 #pseudo-device bridge # simple inter-network bridging 126 #pseudo-device vether # Virtual Ethernet for bridge 127 #pseudo-device vnd # vnode pseudo-disks 128 #options VND_COMPRESSION # compressed vnd(4) 129 #pseudo-device ccd # concatenated disk devices 130 #pseudo-device cgd # cryptographic disk devices 131 pseudo-device loop # loopback network interface 132 #pseudo-device npf # NPF packet filter 133 pseudo-device clockctl # user control of clock subsystem 134 pseudo-device ksyms # /dev/ksyms 135 pseudo-device swwdog # software watchdog timer -- swwdog(4) 136 137 include "dev/veriexec.config" 138 139 # Pull in optional local configuration - always at end 140 cinclude "arch/cesfic/conf/GENERIC.local" 141