From owner-cvs-sys Tue Apr 22 01:31:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA02174 for cvs-sys-outgoing; Tue, 22 Apr 1997 01:31:53 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA02169; Tue, 22 Apr 1997 01:31:47 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id SAA10335; Tue, 22 Apr 1997 18:24:02 +1000 Date: Tue, 22 Apr 1997 18:24:02 +1000 From: Bruce Evans Message-Id: <199704220824.SAA10335@godzilla.zeta.org.au> To: jdp@freebsd.org, phk@dk.tfs.com Subject: Re: cvs commit: src/sys/i386/conf Makefile.i386 src/sys/i386/i386 setdef0.c setdef1.c setdefs.h identcpu.c locore.s machdep.c swtch.s src/sys/i386/isa npx.c src/sys/sys cdefs.h kernel.h src/sys/gnu/i386/fpemul div_small.s fpu_asm.h poly_div.s poly_mul64.s polynomial.s reg_div.s reg_norm.s reg_round.s reg_u_add.s reg_u_div.s reg_u_mul.s reg_u_sub.s wm_shrx.s wm_sqrt.s src/sys/i386/include asnames.h asmacros.h Cc: cvs-all@freebsd.org, CVS-committers@freebsd.org, cvs-sys@freebsd.org Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> The impact on developers is virtually nil, except for two things. >> All linker sets that might possibly be present in the kernel must be >> listed in "sys/i386/i386/setdefs.h". > >Urg. This complicates the sysctl a fair bit. Can't we find some way >to build this list automagically ? Oops, I forgot that the SYSCTL macros hid the use of linker sets when John asked me about this. Perhaps you should implement sysctl again :-). Something needs to be done anyway to support it in LKMs and fix it in vfs's. One idea: attach everything to one linker set and encode the tree structure in the oid struct. I think this doesn't lose anything except possibly space. Bruce