Mon Apr 20 19:38:11 2020 UTC ()
build with -g on the branch


(bouyer)
diff -r1.1227 -r1.1227.2.1 src/sys/arch/i386/conf/GENERIC

cvs diff -r1.1227 -r1.1227.2.1 src/sys/arch/i386/conf/GENERIC (expand / switch to unified diff)

--- src/sys/arch/i386/conf/GENERIC 2020/03/28 08:35:36 1.1227
+++ src/sys/arch/i386/conf/GENERIC 2020/04/20 19:38:11 1.1227.2.1
@@ -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
21include "arch/i386/conf/std.i386" 21include "arch/i386/conf/std.i386"
22 22
23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 23options 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
27maxusers 64 # estimated number of users 27maxusers 64 # estimated number of users
28 28
29# CPU-related options. 29# CPU-related options.
30options USER_LDT # user-settable LDT; used by WINE 30options 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)
32makeoptions SPECTRE_V2_GCC_MITIGATION=1 # GCC Spectre variant 2 32makeoptions SPECTRE_V2_GCC_MITIGATION=1 # GCC Spectre variant 2
33 # migitation 33 # migitation
34options SPECTRE_V2_GCC_MITIGATION 34options SPECTRE_V2_GCC_MITIGATION
35 35
36# CPU features 36# CPU features
37acpicpu* at cpu? # ACPI CPU (including frequency scaling) 37acpicpu* at cpu? # ACPI CPU (including frequency scaling)
38coretemp* at cpu? # Intel on-die thermal sensor 38coretemp* 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
109options BUFQ_PRIOCSCAN 109options BUFQ_PRIOCSCAN
110 110
111# Diagnostic/debugging support options 111# Diagnostic/debugging support options
112options DIAGNOSTIC # inexpensive kernel consistency checks 112options 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
116options DDB # in-kernel debugger 116options 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'
118options DDB_HISTORY_SIZE=512 # enable history editing in DDB 118options 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 122makeoptions 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)
128options KDTRACE_HOOKS # kernel DTrace hooks 128options 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
135include "conf/compat_netbsd09.config" 135include "conf/compat_netbsd09.config"