Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/config TODOs about kernel options.



details:   https://anonhg.NetBSD.org/src/rev/0e03ce8a23b7
branches:  trunk
changeset: 810243:0e03ce8a23b7
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Aug 23 01:30:21 2015 +0000

description:
TODOs about kernel options.

diffstat:

 usr.bin/config/TODO |  16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 4b29b3aaf133 -r 0e03ce8a23b7 usr.bin/config/TODO
--- a/usr.bin/config/TODO       Sun Aug 23 00:53:15 2015 +0000
+++ b/usr.bin/config/TODO       Sun Aug 23 01:30:21 2015 +0000
@@ -349,3 +349,19 @@
   manually "attach" them, one at a time.  This leads to duplication of
   code (where multiple drivers contain the same basic logic), and doesn't
   necessarily handle all of the "frobbing" of the kernel lists.
+
+o Disallow unknown options.
+
+  Don't accept options that are not defined as either defflag or defparam.
+  Report them and exit.  Don't set ${IDENT} in the generated Makefile.
+
+o Convert ${DIAGNOSTIC} and ${DEBUG} as flags (defflag).
+
+  Probably generate opt_diagnostic.h/opt_debug.h and include them in
+  sys/param.h.
+
+o Strictly define DIAGNOSTIC.
+
+  It is possible to make DIAGNOSTIC kernel and modules binary-compatible with
+  non-DIAGNOSTIC ones.  In that case, debug type informations should match
+  theoretically (not confirmed).



Home | Main Index | Thread Index | Old Index