| @@ -1,38 +1,38 @@ | | | @@ -1,38 +1,38 @@ |
1 | # $NetBSD: GENERIC,v 1.1227 2020/03/28 08:35:36 isaki Exp $ | | 1 | # $NetBSD: GENERIC,v 1.1227.2.1 2020/04/20 19:38:11 bouyer 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.1227 $" | | 25 | #ident "GENERIC-$Revision: 1.1227.2.1 $" |
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 |
| @@ -109,27 +109,27 @@ options SYSCTL_INCLUDE_DESCR # Include | | | @@ -109,27 +109,27 @@ options SYSCTL_INCLUDE_DESCR # Include |
109 | options BUFQ_PRIOCSCAN | | 109 | options BUFQ_PRIOCSCAN |
110 | | | 110 | |
111 | # Diagnostic/debugging support options | | 111 | # Diagnostic/debugging support options |
112 | options DIAGNOSTIC # inexpensive kernel consistency checks | | 112 | options DIAGNOSTIC # inexpensive kernel consistency checks |
113 | # XXX to be commented out on release branch | | 113 | # XXX to be commented out on release branch |
114 | #options DEBUG # expensive debugging checks/support | | 114 | #options DEBUG # expensive debugging checks/support |
115 | #options LOCKDEBUG # expensive locking checks/support | | 115 | #options LOCKDEBUG # expensive locking checks/support |
116 | options DDB # in-kernel debugger | | 116 | options DDB # in-kernel debugger |
117 | #options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' | | 117 | #options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' |
118 | options DDB_HISTORY_SIZE=512 # enable history editing in DDB | | 118 | options DDB_HISTORY_SIZE=512 # enable history editing in DDB |
119 | #options DDB_VERBOSE_HELP | | 119 | #options DDB_VERBOSE_HELP |
120 | #options KGDB # remote debugger | | 120 | #options KGDB # remote debugger |
121 | #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 | | 121 | #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 |
122 | #makeoptions DEBUG="-g" # compile full symbol table | | 122 | makeoptions DEBUG="-g" # compile full symbol table |
123 | #options KUBSAN # Kernel Undefined Behavior Sanitizer (kUBSan) | | 123 | #options KUBSAN # Kernel Undefined Behavior Sanitizer (kUBSan) |
124 | #options UBSAN_ALWAYS_FATAL # (optional) Panic on all kUBSan reports | | 124 | #options UBSAN_ALWAYS_FATAL # (optional) Panic on all kUBSan reports |
125 | #options SYSCALL_STATS # per syscall counts | | 125 | #options SYSCALL_STATS # per syscall counts |
126 | #options SYSCALL_TIMES # per syscall times | | 126 | #options SYSCALL_TIMES # per syscall times |
127 | #options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris) | | 127 | #options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris) |
128 | options KDTRACE_HOOKS # kernel DTrace hooks | | 128 | options KDTRACE_HOOKS # kernel DTrace hooks |
129 | | | 129 | |
130 | # Kernel Code Coverage Driver. | | 130 | # Kernel Code Coverage Driver. |
131 | #makeoptions KCOV=1 | | 131 | #makeoptions KCOV=1 |
132 | #options KCOV | | 132 | #options KCOV |
133 | | | 133 | |
134 | # Compatibility options | | 134 | # Compatibility options |
135 | include "conf/compat_netbsd09.config" | | 135 | include "conf/compat_netbsd09.config" |