| @@ -1,38 +1,38 @@ | | | @@ -1,38 +1,38 @@ |
1 | # $NetBSD: GENERIC,v 1.1249 2023/07/16 05:24:08 mrg Exp $ | | 1 | # $NetBSD: GENERIC,v 1.1250 2023/07/16 10:20:07 riastradh Exp $ |
2 | # | | 2 | # |
3 | # GENERIC machine description file | | 3 | # GENERIC machine description file |
4 | # | | 4 | # |
5 | # This machine description file is used to generate the default NetBSD | | 5 | # This machine description file is used to generate the default NetBSD |
6 | # kernel. The generic kernel does not include all options, subsystems | | 6 | # kernel. The generic kernel does not include all options, subsystems |
7 | # and device drivers, but should be useful for most applications. | | 7 | # and device drivers, but should be useful for most applications. |
8 | # | | 8 | # |
9 | # The machine description file can be customised for your specific | | 9 | # The machine description file can be customised for your specific |
10 | # machine to reduce the kernel size and improve its performance. | | 10 | # machine to reduce the kernel size and improve its performance. |
11 | # | | 11 | # |
12 | # For further information on compiling NetBSD kernels, see the config(8) | | 12 | # For further information on compiling NetBSD kernels, see the config(8) |
13 | # man page. | | 13 | # man page. |
14 | # | | 14 | # |
15 | # For further information on hardware support for this architecture, see | | 15 | # For further information on hardware support for this architecture, see |
16 | # the intro(4) man page. For further information about kernel options | | 16 | # the intro(4) man page. For further information about kernel options |
17 | # for this architecture, see the options(4) man page. For an explanation | | 17 | # for this architecture, see the options(4) man page. For an explanation |
18 | # of each device driver in this file see the section 4 man page for the | | 18 | # of each device driver in this file see the section 4 man page for the |
19 | # device. | | 19 | # device. |
20 | | | 20 | |
21 | include "arch/i386/conf/std.i386" | | 21 | include "arch/i386/conf/std.i386" |
22 | | | 22 | |
23 | options INCLUDE_CONFIG_FILE # embed config file in kernel binary | | 23 | options INCLUDE_CONFIG_FILE # embed config file in kernel binary |
24 | | | 24 | |
25 | #ident "GENERIC-$Revision: 1.1249 $" | | 25 | #ident "GENERIC-$Revision: 1.1250 $" |
26 | | | 26 | |
27 | maxusers 64 # estimated number of users | | 27 | maxusers 64 # estimated number of users |
28 | | | 28 | |
29 | # CPU-related options. | | 29 | # CPU-related options. |
30 | options USER_LDT # user-settable LDT; used by WINE | | 30 | options USER_LDT # user-settable LDT; used by WINE |
31 | #options PAE # PAE mode (36 bits physical addressing) | | 31 | #options PAE # PAE mode (36 bits physical addressing) |
32 | makeoptions SPECTRE_V2_GCC_MITIGATION=1 # GCC Spectre variant 2 | | 32 | makeoptions SPECTRE_V2_GCC_MITIGATION=1 # GCC Spectre variant 2 |
33 | # migitation | | 33 | # migitation |
34 | options SPECTRE_V2_GCC_MITIGATION | | 34 | options SPECTRE_V2_GCC_MITIGATION |
35 | | | 35 | |
36 | # CPU features | | 36 | # CPU features |
37 | acpicpu* at cpu? # ACPI CPU (including frequency scaling) | | 37 | acpicpu* at cpu? # ACPI CPU (including frequency scaling) |
38 | coretemp* at cpu? # Intel on-die thermal sensor | | 38 | coretemp* at cpu? # Intel on-die thermal sensor |
| @@ -130,26 +130,30 @@ options DDB_HISTORY_SIZE=512 # enable h | | | @@ -130,26 +130,30 @@ options DDB_HISTORY_SIZE=512 # enable h |
130 | #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 | | 130 | #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 |
131 | #makeoptions DEBUG="-g" # compile full symbol table | | 131 | #makeoptions DEBUG="-g" # compile full symbol table |
132 | #options KUBSAN # Kernel Undefined Behavior Sanitizer (kUBSan) | | 132 | #options KUBSAN # Kernel Undefined Behavior Sanitizer (kUBSan) |
133 | #options UBSAN_ALWAYS_FATAL # (optional) Panic on all kUBSan reports | | 133 | #options UBSAN_ALWAYS_FATAL # (optional) Panic on all kUBSan reports |
134 | #options SYSCALL_STATS # per syscall counts | | 134 | #options SYSCALL_STATS # per syscall counts |
135 | #options SYSCALL_TIMES # per syscall times | | 135 | #options SYSCALL_TIMES # per syscall times |
136 | #options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris) | | 136 | #options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris) |
137 | options KDTRACE_HOOKS # kernel DTrace hooks | | 137 | options KDTRACE_HOOKS # kernel DTrace hooks |
138 | | | 138 | |
139 | # Kernel Code Coverage Driver. | | 139 | # Kernel Code Coverage Driver. |
140 | #makeoptions KCOV=1 | | 140 | #makeoptions KCOV=1 |
141 | #options KCOV | | 141 | #options KCOV |
142 | | | 142 | |
| | | 143 | # Heartbeat checks |
| | | 144 | options HEARTBEAT |
| | | 145 | options HEARTBEAT_MAX_PERIOD_DEFAULT=15 |
| | | 146 | |
143 | # Compatibility options | | 147 | # Compatibility options |
144 | include "conf/compat_netbsd09.config" | | 148 | include "conf/compat_netbsd09.config" |
145 | #options COMPAT_386BSD_MBRPART # recognize old partition ID | | 149 | #options COMPAT_386BSD_MBRPART # recognize old partition ID |
146 | | | 150 | |
147 | # Wedge support | | 151 | # Wedge support |
148 | options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances | | 152 | options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances |
149 | options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges | | 153 | options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges |
150 | #options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges | | 154 | #options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges |
151 | #options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges | | 155 | #options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges |
152 | options DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges | | 156 | options DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges |
153 | #options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges | | 157 | #options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges |
154 | | | 158 | |
155 | # File systems | | 159 | # File systems |