1 1.1 jmcneill # 2 1.54 msaitoh # $NetBSD: GENERIC.common,v 1.54 2024/11/07 08:46:37 msaitoh Exp $ 3 1.1 jmcneill # 4 1.53 skrll # GENERIC common evbarm kernel config items shared between 32 and 64 5 1.53 skrll # kernels 6 1.1 jmcneill # 7 1.1 jmcneill 8 1.1 jmcneill # estimated number of users 9 1.1 jmcneill 10 1.1 jmcneill maxusers 32 11 1.1 jmcneill 12 1.1 jmcneill # Standard system options 13 1.1 jmcneill 14 1.1 jmcneill options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 15 1.20 jakllsch options NTP # NTP phase/frequency locked loop 16 1.1 jmcneill 17 1.1 jmcneill # CPU options 18 1.37 ad #options PMAPCOUNTERS 19 1.32 skrll options BUSDMA_COUNTERS 20 1.1 jmcneill 21 1.1 jmcneill # Architecture options 22 1.1 jmcneill 23 1.1 jmcneill # File systems 24 1.2 jmcneill include "conf/filesystems.config" 25 1.2 jmcneill no file-system LFS 26 1.2 jmcneill no file-system CODA 27 1.2 jmcneill no pseudo-device vcoda 28 1.1 jmcneill 29 1.1 jmcneill # File system options 30 1.51 simonb # ffs 31 1.49 simonb options FFS_EI # FFS Endian Independent support 32 1.49 simonb #options FFS_NO_SNAPSHOT # No FFS snapshot support 33 1.42 jmcneill options QUOTA # legacy UFS quotas 34 1.42 jmcneill options QUOTA2 # new, in-filesystem UFS quotas 35 1.49 simonb options UFS_ACL # UFS Access Control Lists 36 1.51 simonb options UFS_DIRHASH # UFS Large Directory Hashing 37 1.51 simonb options UFS_EXTATTR # Extended attribute support for UFS1 38 1.49 simonb options WAPBL # File system journaling support 39 1.51 simonb # lfs 40 1.51 simonb #options LFS_DIRHASH # LFS version of UFS_DIRHASH 41 1.51 simonb # ext2fs 42 1.51 simonb # other 43 1.34 rin options DISKLABEL_EI # disklabel Endian Independent support 44 1.49 simonb options NFSSERVER # Network File System server 45 1.1 jmcneill 46 1.1 jmcneill # Networking options 47 1.1 jmcneill 48 1.1 jmcneill #options GATEWAY # packet forwarding 49 1.1 jmcneill options INET # IP + ICMP + TCP + UDP 50 1.1 jmcneill options INET6 # IPV6 51 1.10 riz options IPSEC # IP security 52 1.1 jmcneill #options IPSEC_DEBUG # debug for IP security 53 1.1 jmcneill #options MROUTING # IP multicast routing 54 1.1 jmcneill #options PIM # Protocol Independent Multicast 55 1.1 jmcneill #options NETATALK # AppleTalk networking 56 1.44 jmcneill options PPP_BSDCOMP # BSD-Compress compression support for PPP 57 1.44 jmcneill options PPP_DEFLATE # Deflate compression support for PPP 58 1.44 jmcneill options PPP_FILTER # Active filter support for PPP (requires bpf) 59 1.1 jmcneill #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 60 1.1 jmcneill 61 1.6 matt # JIT compiler for bpfilter 62 1.6 matt #options SLJIT 63 1.6 matt options BPFJIT 64 1.6 matt 65 1.4 jmcneill #options NFS_BOOT_BOOTP 66 1.4 jmcneill options NFS_BOOT_DHCP 67 1.2 jmcneill #options NFS_BOOT_BOOTSTATIC 68 1.2 jmcneill #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" 69 1.2 jmcneill #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" 70 1.2 jmcneill #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 71 1.2 jmcneill #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" 72 1.2 jmcneill #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" 73 1.1 jmcneill 74 1.3 matt options NFS_BOOT_RWSIZE=1024 75 1.1 jmcneill 76 1.1 jmcneill # Compatibility options 77 1.1 jmcneill 78 1.22 mrg include "conf/compat_netbsd60.config" 79 1.41 jmcneill options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 80 1.41 jmcneill # on arm or arm binaries on arm64 81 1.1 jmcneill 82 1.1 jmcneill # Shared memory options 83 1.1 jmcneill 84 1.1 jmcneill options SYSVMSG # System V-like message queues 85 1.1 jmcneill options SYSVSEM # System V-like semaphores 86 1.1 jmcneill #options SEMMNI=10 # number of semaphore identifiers 87 1.1 jmcneill #options SEMMNS=60 # number of semaphores in system 88 1.1 jmcneill #options SEMUME=10 # max number of undo entries per process 89 1.1 jmcneill #options SEMMNU=30 # number of undo structures in system 90 1.1 jmcneill options SYSVSHM # System V-like memory sharing 91 1.1 jmcneill 92 1.1 jmcneill # Device options 93 1.1 jmcneill 94 1.1 jmcneill #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 95 1.1 jmcneill #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks 96 1.1 jmcneill #options MEMORY_DISK_DYNAMIC 97 1.1 jmcneill #options MINIROOTSIZE=1000 # Size in blocks 98 1.1 jmcneill #options MEMORY_DISK_IS_ROOT # use memory disk as root 99 1.1 jmcneill #options MEMORY_DISK_FBFLAGS=RB_SINGLE 100 1.1 jmcneill 101 1.1 jmcneill # Miscellaneous kernel options 102 1.17 skrll options KTRACE # system call tracing, a la ktrace(1) 103 1.17 skrll #options SCSIVERBOSE # Verbose SCSI errors 104 1.17 skrll #options MIIVERBOSE # Verbose MII autoconfuration messages 105 1.48 jmcneill options USERCONF # userconf(4) support 106 1.17 skrll #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 107 1.54 msaitoh options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 108 1.1 jmcneill 109 1.8 skrll # Wedge support 110 1.6 matt options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 111 1.6 matt options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 112 1.6 matt 113 1.1 jmcneill # Alternate buffer queue strategies for better responsiveness under high 114 1.1 jmcneill # disk I/O load. 115 1.1 jmcneill #options BUFQ_READPRIO 116 1.1 jmcneill options BUFQ_PRIOCSCAN 117 1.1 jmcneill 118 1.1 jmcneill # Development and Debugging options 119 1.1 jmcneill 120 1.11 skrll options DIAGNOSTIC # internal consistency checks 121 1.1 jmcneill #options DEBUG 122 1.17 skrll options KDTRACE_HOOKS # kernel DTrace hooks 123 1.1 jmcneill #options LOCKDEBUG 124 1.36 skrll #options UVMHIST # kernhist for uvm/pmap subsystems 125 1.1 jmcneill #options VERBOSE_INIT_ARM # verbose bootstraping messages 126 1.1 jmcneill options DDB # in-kernel debugger 127 1.3 matt options DDB_ONPANIC=1 128 1.1 jmcneill options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 129 1.1 jmcneill #options DDB_COMMANDONENTER="bt" 130 1.1 jmcneill #options KGDB 131 1.1 jmcneill 132 1.1 jmcneill # Pseudo-Devices 133 1.1 jmcneill 134 1.7 jmcneill # crypto pseudo-devices 135 1.7 jmcneill pseudo-device crypto # /dev/crypto device 136 1.7 jmcneill pseudo-device swcrypto # software crypto implementation 137 1.7 jmcneill 138 1.1 jmcneill # disk/mass storage pseudo-devices 139 1.1 jmcneill #pseudo-device md # memory disk device (ramdisk) 140 1.1 jmcneill pseudo-device vnd # disk-like interface to files 141 1.45 jmcneill options VND_COMPRESSION # compressed vnd(4) 142 1.40 uwe pseudo-device fss # file system snapshot device 143 1.1 jmcneill pseudo-device drvctl # driver control 144 1.35 riastrad pseudo-device cgd # cryptographic disk devices 145 1.38 mrg pseudo-device raid # RAIDframe disk driver 146 1.38 mrg options RAID_AUTOCONFIG # auto-configuration of RAID components 147 1.38 mrg #Options to enable various other RAIDframe RAID types. 148 1.38 mrg #options RF_INCLUDE_EVENODD=1 149 1.38 mrg #options RF_INCLUDE_RAID5_RS=1 150 1.38 mrg #options RF_INCLUDE_PARITYLOGGING=1 151 1.38 mrg #options RF_INCLUDE_CHAINDECLUSTER=1 152 1.38 mrg #options RF_INCLUDE_INTERDECLUSTER=1 153 1.38 mrg #options RF_INCLUDE_PARITY_DECLUSTERING=1 154 1.38 mrg #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 155 1.1 jmcneill 156 1.1 jmcneill # network pseudo-devices 157 1.1 jmcneill pseudo-device bpfilter # Berkeley packet filter 158 1.33 sevan pseudo-device carp # Common Address Redundancy Protocol 159 1.1 jmcneill pseudo-device loop # network loopback 160 1.7 jmcneill pseudo-device bridge # simple inter-network bridging 161 1.39 roy pseudo-device vether # Virtual Ethernet for bridge 162 1.7 jmcneill pseudo-device vlan # IEEE 802.1q encapsulation 163 1.7 jmcneill pseudo-device ppp # Point-to-Point Protocol 164 1.7 jmcneill pseudo-device pppoe # PPP over Ethernet (RFC 2516) 165 1.7 jmcneill pseudo-device tun # network tunneling over tty 166 1.7 jmcneill pseudo-device tap # virtual Ethernet 167 1.24 skrll pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 168 1.25 jmcneill pseudo-device ipsecif # interface for routing-based ipsec 169 1.7 jmcneill pseudo-device gre # generic L3 over IP tunnel 170 1.7 jmcneill pseudo-device npf # NPF packet filter 171 1.1 jmcneill 172 1.1 jmcneill # miscellaneous pseudo-devices 173 1.47 nia pseudo-device pad # pseudo audio device 174 1.1 jmcneill pseudo-device pty # pseudo-terminals 175 1.3 matt #options RND_COM 176 1.31 martin pseudo-device clockctl # user control of clock subsystem 177 1.1 jmcneill pseudo-device ksyms # /dev/ksyms 178 1.1 jmcneill pseudo-device lockstat # lock profiling 179 1.50 riastrad pseudo-device swwdog # software watchdog timer -- swwdog(4) 180 1.13 christos 181 1.33 sevan include "dev/veriexec.config" 182 1.13 christos 183 1.13 christos options PAX_ASLR_DEBUG=1 # PaX ASLR debug 184 1.13 christos options PAX_SEGVGUARD=0 # PaX Segmentation fault guard 185 1.13 christos options PAX_MPROTECT=1 # PaX mprotect(2) restrictions 186 1.13 christos options PAX_MPROTECT_DEBUG=1 # PaX mprotect debug 187 1.13 christos options PAX_ASLR=1 # PaX Address Space Layout Randomization 188