FreeBSD/Linux Kernel Cross Reference
sys/riscv/conf/GENERIC
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 # https://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 (https://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
21 cpu RISCV
22 ident GENERIC
23
24 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
25 makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
26
27 options SCHED_ULE # ULE scheduler
28 options PREEMPTION # Enable kernel thread preemption
29 options VIMAGE # Subsystem virtualization, e.g. VNET
30 options INET # InterNETworking
31 options INET6 # IPv6 communications protocols
32 options TCP_HHOOK # hhook(9) framework for TCP
33 options IPSEC # IP (v4/v6) security
34 options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5
35 options TCP_OFFLOAD # TCP offload
36 options SCTP # Stream Control Transmission Protocol
37 options FFS # Berkeley Fast Filesystem
38 options SOFTUPDATES # Enable FFS soft updates support
39 options UFS_ACL # Support for access control lists
40 options UFS_DIRHASH # Improve performance on big directories
41 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
42 options QUOTA # Enable disk quotas for UFS
43 options NFSCL # Network Filesystem Client
44 options NFSD # Network Filesystem Server
45 options NFSLOCKD # Network Lock Manager
46 options NFS_ROOT # NFS usable as /, requires NFSCL
47 options MSDOSFS # MSDOS Filesystem
48 options CD9660 # ISO 9660 Filesystem
49 options PROCFS # Process filesystem (requires PSEUDOFS)
50 options PSEUDOFS # Pseudo-filesystem framework
51 options GEOM_PART_GPT # GUID Partition Tables.
52 options GEOM_RAID # Soft RAID functionality.
53 options GEOM_LABEL # Provides labelization
54 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
55 options KTRACE # ktrace(1) support
56 options STACK # stack(9) support
57 options SYSVSHM # SYSV-style shared memory
58 options SYSVMSG # SYSV-style message queues
59 options SYSVSEM # SYSV-style semaphores
60 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
61 options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
62 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
63 # options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
64 options AUDIT # Security event auditing
65 options CAPABILITY_MODE # Capsicum capability mode
66 options CAPABILITIES # Capsicum capabilities
67 options MAC # TrustedBSD MAC Framework
68 options KDTRACE_FRAME # Ensure frames are compiled in
69 options KDTRACE_HOOKS # Kernel DTrace hooks
70 options FPE # Floating-point extension support
71 options RACCT # Resource accounting framework
72 options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
73 options RCTL # Resource limits
74 options SMP
75 options INTRNG
76
77 # RISC-V SBI console
78 device rcons
79
80 # VirtIO support
81 device virtio # Generic VirtIO bus (required)
82 device virtio_pci # VirtIO PCI device
83 device vtnet # VirtIO Ethernet device
84 device virtio_blk # VirtIO Block device
85 device virtio_mmio # VirtIO MMIO bus
86
87 # DTrace support
88 # device dtrace
89 # device dtrace_profile
90 # device dtrace_sdt
91 # device dtrace_fbt
92 # device dtrace_systrace
93 # device dtrace_prototype
94 # device dtraceall
95
96 # Serial (COM) ports
97 device uart # Generic UART driver
98 device uart_lowrisc # lowRISC UART driver
99 device uart_ns8250 # ns8250-type UART driver
100
101
102 # Ethernet drivers
103 device miibus # MII bus support
104 device cgem # Cadence Gigabit Ethernet MAC
105 device xae # Xilinx AXI Ethernet MAC
106
107 # DMA support
108 device xdma # DMA interface
109 device axidma # Xilinx AXI DMA Controller
110
111 # Uncomment for memory disk
112 # options MD_ROOT
113 # options MD_ROOT_SIZE=32768 # 32MB ram disk
114 # makeoptions MFS_IMAGE=/path/to/img
115 # options ROOTDEVNAME=\"ufs:/dev/md0\"
116
117 # Uncomment for virtio block device
118 # options ROOTDEVNAME=\"ufs:/dev/vtbd0\"
119
120 # Debugging support. Always need this:
121 options KDB # Enable kernel debugger support.
122 options KDB_TRACE # Print a stack trace for a panic.
123
124 # Kernel dump features.
125 options ZSTDIO # zstd-compressed kernel and user dumps
126
127 # Pseudo devices.
128 device crypto # core crypto support
129 device loop # Network loopback
130 device random # Entropy device
131 device ether # Ethernet support
132 device vlan # 802.1Q VLAN support
133 device tuntap # Packet tunnel.
134 device md # Memory "disks"
135 device gif # IPv6 and IPv4 tunneling
136 device firmware # firmware assist module
137
138 # The `bpf' device enables the Berkeley Packet Filter.
139 # Be aware of the administrative consequences of enabling this!
140 # Note that 'bpf' is required for DHCP.
141 device bpf # Berkeley packet filter
142
143 options FDT
Cache object: c197af8e3a605967c073281b26a43a4b
|