summaryrefslogtreecommitdiffstats
path: root/sys/conf/options
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-01-26 22:32:23 +0000
committerrwatson <rwatson@FreeBSD.org>2008-01-26 22:32:23 +0000
commitdb8d5a7a3dab94330ab892cb2be5828c2959b5bf (patch)
tree2592f60045e0184007a696997b310c248d65ee54 /sys/conf/options
parent81169af72ac63878d02728ffa78cbe72e62b51e4 (diff)
downloadFreeBSD-src-db8d5a7a3dab94330ab892cb2be5828c2959b5bf.zip
FreeBSD-src-db8d5a7a3dab94330ab892cb2be5828c2959b5bf.tar.gz
Allow DDB_CAPTURE_DEFAULTBUFSIZE and DDB_CAPTURE_MAXBUFSIZE to be
overridden at compile-time using kernel options of the same names. Rather than doing a compile-time CTASSERT of buffer sizes being even multiples of block sizes, just adjust them at boottime, as the failure mode is more user-friendly. MFC after: 2 months PR: 119993 Suggested by: Scot Hetzel <swhetzel at gmail dot com>
Diffstat (limited to 'sys/conf/options')
-rw-r--r--sys/conf/options2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options
index eb13db6..3fbcce5 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -48,6 +48,8 @@ TWA_FLASH_FIRMWARE opt_twa.h
# Debugging options.
DDB
+DDB_CAPTURE_DEFAULTBUFSIZE opt_ddb.h
+DDB_CAPTURE_MAXBUFSIZE opt_ddb.h
DDB_NUMSYM opt_ddb.h
GDB
KDB opt_global.h
OpenPOWER on IntegriCloud