Module Name: src
Committed By: uebayasi
Date: Fri Oct 10 11:38:42 UTC 2014
Added Files:
src/usr.bin/config: TODO
Log Message:
Put TODO ideas (to keep your fun).
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/usr.bin/config/TODO
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/usr.bin/config/TODO
diff -u /dev/null src/usr.bin/config/TODO:1.1
--- /dev/null Fri Oct 10 11:38:42 2014
+++ src/usr.bin/config/TODO Fri Oct 10 11:38:42 2014
@@ -0,0 +1,35 @@
+o Emit everything (ioconf.*, Makefile, ...) per-attribute.
+
+o Generate modular(9) related information. Especially module dependency.
+
+o Rename "interface attribute" to "bus".
+
+ Instead of
+
+ define audiobus {}
+ attach audio at audiobus
+
+ Do like this
+
+ defbus audiobus {}
+ attach audio at audiobus
+
+o Sort objects in more reasonable order.
+
+ Put machdep.ko in the lowest address. uvm.ko and kern.ko follow.
+
+ Kill alphabetical sort (${OBJS:O} in sys/conf/Makefile.inc.kern.
+
+ Use ldscript. Do like this
+
+ .text :
+ AT (ADDR(.text) & 0x0fffffff)
+ {
+ *(.text.machdep.locore.entry)
+ *(.text.machdep.locore)
+ *(.text.machdep)
+ *(.text)
+ *(.text.*)
+ :
+
+ Kill linker definitions in sys/conf/Makefile.inc.kern.