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