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 26 27# FIXME: linker error. "--relax and -r may not be used together" 28makeoptions WITHOUT_MODULES="usb otusfw mwlfw ispfw mwlfw ralfw rtwnfw urtwnfw" 29 30options SCHED_ULE # ULE scheduler 31options PREEMPTION # Enable kernel thread preemption 32options INET # InterNETworking 33options INET6 # IPv6 communications protocols 34options IPSEC # IP (v4/v6) security 35options TCP_OFFLOAD # TCP offload 36options SCTP # Stream Control Transmission Protocol 37options FFS # Berkeley Fast Filesystem 38options SOFTUPDATES # Enable FFS soft updates support 39options UFS_ACL # Support for access control lists 40options UFS_DIRHASH # Improve performance on big directories 41options UFS_GJOURNAL # Enable gjournal-based UFS journaling 42options QUOTA # Enable disk quotas for UFS 43options MD_ROOT # MD is a potential root device 44options NFSCL # Network Filesystem Client 45options NFSD # Network Filesystem Server 46options NFSLOCKD # Network Lock Manager 47options NFS_ROOT # NFS usable as /, requires NFSCL 48options MSDOSFS # MSDOS Filesystem 49options CD9660 # ISO 9660 Filesystem 50options PROCFS # Process filesystem (requires PSEUDOFS) 51options PSEUDOFS # Pseudo-filesystem framework 52options GEOM_PART_GPT # GUID Partition Tables. 53# options GEOM_RAID # Soft RAID functionality. 54options GEOM_LABEL # Provides labelization 55options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 56options KTRACE # ktrace(1) support 57# options STACK # stack(9) support 58options SYSVSHM # SYSV-style shared memory 59options SYSVMSG # SYSV-style message queues 60options SYSVSEM # SYSV-style semaphores 61options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 62options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 63options KBD_INSTALL_CDEV # install a CDEV entry in /dev 64# options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 65options AUDIT # Security event auditing 66options CAPABILITY_MODE # Capsicum capability mode 67options CAPABILITIES # Capsicum capabilities 68options MAC # TrustedBSD MAC Framework 69options KDTRACE_FRAME # Ensure frames are compiled in 70options KDTRACE_HOOKS # Kernel DTrace hooks 71# options VFP # Floating-point support 72options RACCT # Resource accounting framework 73options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 74options RCTL # Resource limits 75options SMP 76 77# Uncomment for memory disk 78# options MD_ROOT 79# options MD_ROOT_SIZE=8192 # 8MB ram disk 80# makeoptions MFS_IMAGE=/path/to/img 81# options ROOTDEVNAME=\"ufs:/dev/md0\" 82 83# Debugging support. Always need this: 84options KDB # Enable kernel debugger support. 85options KDB_TRACE # Print a stack trace for a panic. 86# For full debugger support use (turn off in stable branch): 87options DDB # Support DDB. 88# options GDB # Support remote GDB. 89options DEADLKRES # Enable the deadlock resolver 90options INVARIANTS # Enable calls of extra sanity checking 91options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 92# options WITNESS # Enable checks to detect deadlocks and cycles 93# options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 94options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 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 107# The `bpf' device enables the Berkeley Packet Filter. 108# Be aware of the administrative consequences of enabling this! 109# Note that 'bpf' is required for DHCP. 110device bpf # Berkeley packet filter 111 112options FDT 113