Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/config Put TODO ideas (to keep your fun).



details:   https://anonhg.NetBSD.org/src/rev/4f50e1f6af22
branches:  trunk
changeset: 802975:4f50e1f6af22
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Oct 10 11:38:42 2014 +0000

description:
Put TODO ideas (to keep your fun).

diffstat:

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

diffs (39 lines):

diff -r fbd709166332 -r 4f50e1f6af22 usr.bin/config/TODO
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.bin/config/TODO       Fri Oct 10 11:38:42 2014 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index