Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.7
      1 # $NetBSD: GENERIC,v 1.7 2017/09/14 07:58:43 mrg 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/riscv/conf/std.riscv64"
     22 
     23 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24 
     25 #ident 		"GENERIC-$Revision: 1.7 $"
     26 
     27 maxusers	64		# estimated number of users
     28 
     29 # Standard system options
     30 
     31 options 	NTP		# NTP phase/frequency locked loop
     32 
     33 options 	KTRACE		# system call tracing via ktrace(1)
     34 
     35 # Note: SysV IPC parameters could be changed dynamically, see sysctl(8).
     36 options 	SYSVMSG		# System V-like message queues
     37 options 	SYSVSEM		# System V-like semaphores
     38 options 	SYSVSHM		# System V-like memory sharing
     39 
     40 options 	MODULAR		# new style module(7) framework
     41 options 	MODULAR_DEFAULT_AUTOLOAD
     42 options 	USERCONF	# userconf(4) support
     43 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     44 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     45 
     46 # Alternate buffer queue strategies for better responsiveness under high
     47 # disk I/O load.
     48 #options 	BUFQ_READPRIO
     49 options 	BUFQ_PRIOCSCAN
     50 
     51 # Diagnostic/debugging support options
     52 options 	DIAGNOSTIC	# inexpensive kernel consistency checks
     53 				# XXX to be commented out on release branch
     54 #options 	DEBUG		# expensive debugging checks/support
     55 #options 	LOCKDEBUG	# expensive locking checks/support
     56 
     57 #
     58 # Because gcc omits the frame pointer for any -O level, the line below
     59 # is needed to make backtraces in DDB work.
     60 #
     61 #makeoptions	COPTS="-O2 -fno-omit-frame-pointer"
     62 makeoptions	COPY_SYMTAB=1
     63 options 	DDB		# in-kernel debugger
     64 #options	DDB_COMMANDONENTER="bt"	# execute command when ddb is entered
     65 #options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
     66 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     67 #options 	KGDB		# remote debugger
     68 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
     69 #options 	SYSCALL_STATS	# per syscall counts
     70 #options 	SYSCALL_TIMES	# per syscall times
     71 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
     72 
     73 # Compatibility options
     74 include 	"conf/compat_netbsd70.config"
     75 
     76 options 	COMPAT_OSSAUDIO
     77 options 	COMPAT_NETBSD32
     78 #options 	COMPAT_LINUX
     79 #options 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
     80 #options 	EXEC_ELF32
     81 
     82 # Wedge support
     83 options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
     84 options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
     85 options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
     86 options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
     87 options		DKWEDGE_METHOD_APPLE    # Support Apple partitions as wedges
     88 #options	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
     89 
     90 include 	"conf/filesystems.config"
     91 
     92 # File system options
     93 options 	QUOTA		# legacy UFS quotas
     94 options 	QUOTA2		# new, in-filesystem UFS quotas
     95 options 	FFS_EI		# FFS Endian Independent support
     96 options 	WAPBL		# File system journaling support
     97 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
     98 # It is not recommended for general use.
     99 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
    100 options 	NFSSERVER	# Network File System server
    101 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    102 				# immutable) behave as system flags.
    103 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    104 
    105 # Networking options
    106 #options 	GATEWAY		# packet forwarding
    107 options 	INET		# IP + ICMP + TCP + UDP
    108 options 	INET6		# IPV6
    109 options 	IPSEC		# IP security
    110 #options 	IPSEC_DEBUG	# debug for IP security
    111 #options 	MPLS		# MultiProtocol Label Switching (needs mpls)
    112 #options 	MROUTING	# IP multicast routing
    113 #options 	PIM		# Protocol Independent Multicast
    114 #options 	NETATALK	# AppleTalk networking protocols
    115 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    116 #options 	PPP_DEFLATE	# Deflate compression support for PPP
    117 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    118 #options 	IPFILTER_LOG	# ipmon(8) log support
    119 #options 	IPFILTER_LOOKUP	# ippool(8) support
    120 #options 	IPFILTER_COMPAT # Compat for IP-Filter
    121 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    122 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    123 
    124 #options 	ALTQ		# Manipulate network interfaces' output queues
    125 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    126 #options 	ALTQ_CBQ	# Class-Based Queueing
    127 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    128 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    129 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    130 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    131 #options 	ALTQ_LOCALQ	# Local queueing discipline
    132 #options 	ALTQ_PRIQ	# Priority Queueing
    133 #options 	ALTQ_RED	# Random Early Detection
    134 #options 	ALTQ_RIO	# RED with IN/OUT
    135 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    136 
    137 # These options enable verbose messages for several subsystems.
    138 # Warning, these may compile large string tables into the kernel!
    139 
    140 # Kernel root file system and dump configuration.
    141 config		netbsd	root on ? type ?
    142 
    143 #
    144 # Device configuration
    145 #
    146 mainbus0	at root
    147 cpu0		at mainbus0
    148 htif0		at mainbus0
    149 htifcons0	at htif0
    150 htifdisk0	at htif0
    151 ld0		at htifdisk0
    152 
    153 
    154 # Pseudo-Devices
    155 
    156 pseudo-device 	crypto			# /dev/crypto device
    157 pseudo-device	swcrypto		# software crypto implementation
    158 
    159 # disk/mass storage pseudo-devices
    160 #pseudo-device	md			# memory disk device (ramdisk)
    161 #options 	MEMORY_DISK_HOOKS	# enable root ramdisk
    162 #options 	MEMORY_DISK_DYNAMIC	# loaded via kernel module(7)
    163 
    164 pseudo-device	vnd			# disk-like interface to files
    165 options 	VND_COMPRESSION		# compressed vnd(4)
    166 
    167 pseudo-device	loop			# network loopback
    168 pseudo-device	pty			# pseudo-terminals
    169 pseudo-device	clockctl		# user control of clock subsystem
    170 pseudo-device	ksyms			# /dev/ksyms
    171 pseudo-device	lockstat		# lock profiling
    172 
    173 # userland interface to drivers, including autoconf and properties retrieval
    174 pseudo-device	drvctl
    175 
    176 options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
    177 options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
    178