xref: /freebsd/sys/arm64/conf/std.arm64 (revision 2e35684a0390d6554bc7eb086f071a7fd7ec2c5f)
10f2c6331SEmmanuel Vadot# Standard kernel config items for all ARM64 systems.
20f2c6331SEmmanuel Vadot#
30f2c6331SEmmanuel Vadot
40f2c6331SEmmanuel Vadotmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
50f2c6331SEmmanuel Vadotmakeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
60f2c6331SEmmanuel Vadot
70f2c6331SEmmanuel Vadotoptions 	SCHED_ULE		# ULE scheduler
80f2c6331SEmmanuel Vadotoptions 	NUMA			# Non-Uniform Memory Architecture support
90f2c6331SEmmanuel Vadotoptions 	PREEMPTION		# Enable kernel thread preemption
100f2c6331SEmmanuel Vadotoptions 	VIMAGE			# Subsystem virtualization, e.g. VNET
110f2c6331SEmmanuel Vadotoptions 	INET			# InterNETworking
120f2c6331SEmmanuel Vadotoptions 	INET6			# IPv6 communications protocols
13bb1d472dSRichard Scheffeneggeroptions 	CC_CUBIC		# include CUBIC congestion control
140f2c6331SEmmanuel Vadotoptions 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
157a296a86SKonstantin Belousovoptions 	IPSEC_OFFLOAD		# Inline ipsec offload infra
160f2c6331SEmmanuel Vadotoptions 	ROUTE_MPATH		# Multipath routing support
170f2c6331SEmmanuel Vadotoptions 	FIB_ALGO		# Modular fib lookups
180f2c6331SEmmanuel Vadotoptions 	TCP_OFFLOAD		# TCP offload
19ad20efddSMichael Tuexenoptions 	TCP_BLACKBOX		# Enhanced TCP event logging
200f2c6331SEmmanuel Vadotoptions 	TCP_HHOOK		# hhook(9) framework for TCP
210f2c6331SEmmanuel Vadotoptions 	TCP_RFC7413		# TCP Fast Open
220f2c6331SEmmanuel Vadotoptions 	SCTP_SUPPORT		# Allow kldload of SCTP
230f2c6331SEmmanuel Vadotoptions 	KERN_TLS		# TLS transmit & receive offload
240f2c6331SEmmanuel Vadotoptions 	FFS			# Berkeley Fast Filesystem
250f2c6331SEmmanuel Vadotoptions 	SOFTUPDATES		# Enable FFS soft updates support
260f2c6331SEmmanuel Vadotoptions 	UFS_ACL			# Support for access control lists
270f2c6331SEmmanuel Vadotoptions 	UFS_DIRHASH		# Improve performance on big directories
280f2c6331SEmmanuel Vadotoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
290f2c6331SEmmanuel Vadotoptions 	QUOTA			# Enable disk quotas for UFS
300f2c6331SEmmanuel Vadotoptions 	MD_ROOT			# MD is a potential root device
310f2c6331SEmmanuel Vadotoptions 	NFSCL			# Network Filesystem Client
320f2c6331SEmmanuel Vadotoptions 	NFSD			# Network Filesystem Server
330f2c6331SEmmanuel Vadotoptions 	NFSLOCKD		# Network Lock Manager
340f2c6331SEmmanuel Vadotoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
350f2c6331SEmmanuel Vadotoptions 	MSDOSFS			# MSDOS Filesystem
360f2c6331SEmmanuel Vadotoptions 	CD9660			# ISO 9660 Filesystem
370f2c6331SEmmanuel Vadotoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
380f2c6331SEmmanuel Vadotoptions 	PSEUDOFS		# Pseudo-filesystem framework
390f2c6331SEmmanuel Vadotoptions 	TMPFS			# Efficient memory filesystem
400f2c6331SEmmanuel Vadotoptions 	GEOM_RAID		# Soft RAID functionality.
410f2c6331SEmmanuel Vadotoptions 	GEOM_LABEL		# Provides labelization
420f2c6331SEmmanuel Vadotoptions 	EFIRT			# EFI Runtime Services support
430f2c6331SEmmanuel Vadotoptions 	COMPAT_FREEBSD32	# Compatible with FreeBSD/arm
440f2c6331SEmmanuel Vadotoptions 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
450f2c6331SEmmanuel Vadotoptions 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
464e85b648SKristof Provostoptions 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
4784d12f88SKristof Provostoptions 	COMPAT_FREEBSD14	# Compatible with FreeBSD14
480f2c6331SEmmanuel Vadotoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
490f2c6331SEmmanuel Vadotoptions 	KTRACE			# ktrace(1) support
500f2c6331SEmmanuel Vadotoptions 	STACK			# stack(9) support
510f2c6331SEmmanuel Vadotoptions 	SYSVSHM			# SYSV-style shared memory
520f2c6331SEmmanuel Vadotoptions 	SYSVMSG			# SYSV-style message queues
530f2c6331SEmmanuel Vadotoptions 	SYSVSEM			# SYSV-style semaphores
540f2c6331SEmmanuel Vadotoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
550f2c6331SEmmanuel Vadotoptions 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
560f2c6331SEmmanuel Vadotoptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
570f2c6331SEmmanuel Vadotoptions 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
580f2c6331SEmmanuel Vadotoptions 	AUDIT			# Security event auditing
590f2c6331SEmmanuel Vadotoptions 	CAPABILITY_MODE		# Capsicum capability mode
600f2c6331SEmmanuel Vadotoptions 	CAPABILITIES		# Capsicum capabilities
610f2c6331SEmmanuel Vadotoptions 	MAC			# TrustedBSD MAC Framework
620f2c6331SEmmanuel Vadotoptions 	KDTRACE_FRAME		# Ensure frames are compiled in
630f2c6331SEmmanuel Vadotoptions 	KDTRACE_HOOKS		# Kernel DTrace hooks
640f2c6331SEmmanuel Vadotoptions 	DDB_CTF			# Kernel ELF linker loads CTF data
6567365116SKristof Provostoptions 	INCLUDE_CONFIG_FILE	# Include this file in kernel
660f2c6331SEmmanuel Vadotoptions 	VFP			# Floating-point support
670f2c6331SEmmanuel Vadotoptions 	RACCT			# Resource accounting framework
680f2c6331SEmmanuel Vadotoptions 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
690f2c6331SEmmanuel Vadotoptions 	RCTL			# Resource limits
700f2c6331SEmmanuel Vadotoptions 	LINUX_BOOT_ABI		# Boot using booti command from U-Boot
71ae92ace0SAndrew Turneroptions 	PERTHREAD_SSP		# Per-thread SSP canary
720f2c6331SEmmanuel Vadot
730f2c6331SEmmanuel Vadot# Debugging support.  Always need this:
740f2c6331SEmmanuel Vadotoptions 	KDB			# Enable kernel debugger support.
750f2c6331SEmmanuel Vadotoptions 	KDB_TRACE		# Print a stack trace for a panic.
760f2c6331SEmmanuel Vadot# For full debugger support use (turn off in stable branch):
778a8daeafSLexi Winterinclude "std.debug"
780f2c6331SEmmanuel Vadot
790f2c6331SEmmanuel Vadot# Kernel Sanitizers
800f2c6331SEmmanuel Vadot#options 	COVERAGE		# Generic kernel coverage. Used by KCOV
810f2c6331SEmmanuel Vadot#options 	KCOV			# Kernel Coverage Sanitizer
820f2c6331SEmmanuel Vadot# Warning: KUBSAN can result in a kernel too large for loader to load
830f2c6331SEmmanuel Vadot#options 	KUBSAN			# Kernel Undefined Behavior Sanitizer
840f2c6331SEmmanuel Vadot#options 	KCSAN			# Kernel Concurrency Sanitizer
850f2c6331SEmmanuel Vadot
860f2c6331SEmmanuel Vadot# Kernel dump features.
870f2c6331SEmmanuel Vadotoptions 	EKCD			# Support for encrypted kernel dumps
880f2c6331SEmmanuel Vadotoptions 	GZIO			# gzip-compressed kernel and user dumps
890f2c6331SEmmanuel Vadotoptions 	ZSTDIO			# zstd-compressed kernel and user dumps
900f2c6331SEmmanuel Vadotoptions 	DEBUGNET		# debugnet networking
910f2c6331SEmmanuel Vadotoptions 	NETDUMP			# netdump(4) client support
920f2c6331SEmmanuel Vadot
930f2c6331SEmmanuel Vadot# Make an SMP-capable kernel by default
940f2c6331SEmmanuel Vadotoptions 	SMP			# Symmetric MultiProcessor Kernel
95e81e77c5SKonstantin Belousov
96e81e77c5SKonstantin Belousov# Enable support for the kernel PLL to use an external PPS signal,
97e81e77c5SKonstantin Belousov# under supervision of [x]ntpd(8)
98e81e77c5SKonstantin Belousov# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
99e81e77c5SKonstantin Belousov
100e81e77c5SKonstantin Belousovoptions 	PPS_SYNC
101bfd2ce2aSStephen J. Kiernan
102bfd2ce2aSStephen J. Kiernan# EFI devices
103bfd2ce2aSStephen J. Kiernandevice		efidev			# EFI pseudo-device
104bfd2ce2aSStephen J. Kiernandevice		efirtc			# EFI RTC
105*2e35684aSWarner Losh
106*2e35684aSWarner Losh# SMBIOS -- all EFI platforms
107*2e35684aSWarner Loshdevice		smbios
108