xref: /freebsd/sys/riscv/conf/GENERIC (revision 7d536dc855c85c15bf45f033d108a61b1f3cecc3)
1#
2# GENERIC -- Generic kernel configuration file for FreeBSD/RISC-V
3#
4# For more information on this file, please read the config(5) manual page,
5# and/or the handbook section on Kernel Configuration Files:
6#
7#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD$
20
21cpu		RISCV
22ident		GENERIC
23
24makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
25# makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
26makeoptions	NO_MODULES=1		# We don't yet support modules on RISC-V
27
28options 	SCHED_ULE		# ULE scheduler
29options 	PREEMPTION		# Enable kernel thread preemption
30options 	INET			# InterNETworking
31options 	INET6			# IPv6 communications protocols
32options 	IPSEC			# IP (v4/v6) security
33options 	TCP_OFFLOAD		# TCP offload
34options 	SCTP			# Stream Control Transmission Protocol
35options 	FFS			# Berkeley Fast Filesystem
36options 	SOFTUPDATES		# Enable FFS soft updates support
37options 	UFS_ACL			# Support for access control lists
38options 	UFS_DIRHASH		# Improve performance on big directories
39options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
40options 	QUOTA			# Enable disk quotas for UFS
41options 	MD_ROOT			# MD is a potential root device
42options 	NFSCL			# Network Filesystem Client
43options 	NFSD			# Network Filesystem Server
44options 	NFSLOCKD		# Network Lock Manager
45options 	NFS_ROOT		# NFS usable as /, requires NFSCL
46options 	MSDOSFS			# MSDOS Filesystem
47options 	CD9660			# ISO 9660 Filesystem
48options 	PROCFS			# Process filesystem (requires PSEUDOFS)
49options 	PSEUDOFS		# Pseudo-filesystem framework
50options 	GEOM_PART_GPT		# GUID Partition Tables.
51# options 	GEOM_RAID		# Soft RAID functionality.
52options 	GEOM_LABEL		# Provides labelization
53options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
54options 	KTRACE			# ktrace(1) support
55# options 	STACK			# stack(9) support
56options 	SYSVSHM			# SYSV-style shared memory
57options 	SYSVMSG			# SYSV-style message queues
58options 	SYSVSEM			# SYSV-style semaphores
59options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
61options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
62# options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
63options 	AUDIT			# Security event auditing
64options 	CAPABILITY_MODE		# Capsicum capability mode
65options 	CAPABILITIES		# Capsicum capabilities
66options 	MAC			# TrustedBSD MAC Framework
67# options 	KDTRACE_FRAME		# Ensure frames are compiled in
68# options 	KDTRACE_HOOKS		# Kernel DTrace hooks
69# options 	VFP			# Floating-point support
70options 	RACCT			# Resource accounting framework
71options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
72options 	RCTL			# Resource limits
73options 	SMP
74
75# Uncomment for memory disk
76# options 	MD_ROOT
77# options 	MD_ROOT_SIZE=8192	# 8MB ram disk
78# makeoptions	MFS_IMAGE=/path/to/img
79# options 	ROOTDEVNAME=\"ufs:/dev/md0\"
80
81# Debugging support.  Always need this:
82options 	KDB			# Enable kernel debugger support.
83options 	KDB_TRACE		# Print a stack trace for a panic.
84# For full debugger support use (turn off in stable branch):
85options 	DDB			# Support DDB.
86# options 	GDB			# Support remote GDB.
87options 	DEADLKRES		# Enable the deadlock resolver
88options 	INVARIANTS		# Enable calls of extra sanity checking
89options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
90# options 	WITNESS			# Enable checks to detect deadlocks and cycles
91# options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
92options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
93
94options 	ROOTDEVNAME=\"ufs:/dev/htif_blk0\"
95# options 	EARLY_PRINTF
96
97# Pseudo devices.
98device		loop		# Network loopback
99device		random		# Entropy device
100device		ether		# Ethernet support
101device		vlan		# 802.1Q VLAN support
102device		tun		# Packet tunnel.
103device		md		# Memory "disks"
104device		gif		# IPv6 and IPv4 tunneling
105device		firmware	# firmware assist module
106
107options 	FDT
108